mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #16069 from overleaf/jdt-add-staging-trusted-writefull
Add writeful to trusted users, and fix trusted logic GitOrigin-RevId: 526d8a77e8d5c56e94a6d671e811bfdbb74e2ac6
This commit is contained in:
parent
31fcd01e3a
commit
7341c18e0f
1 changed files with 1 additions and 1 deletions
|
@ -244,11 +244,11 @@ const AuthenticationController = {
|
||||||
|
|
||||||
captchaRequiredForLogin(req, user) {
|
captchaRequiredForLogin(req, user) {
|
||||||
switch (AuthenticationController.getAuditInfo(req).captcha) {
|
switch (AuthenticationController.getAuditInfo(req).captcha) {
|
||||||
|
case 'trusted':
|
||||||
case 'disabled':
|
case 'disabled':
|
||||||
return false
|
return false
|
||||||
case 'solved':
|
case 'solved':
|
||||||
return false
|
return false
|
||||||
case 'trusted':
|
|
||||||
case 'skipped': {
|
case 'skipped': {
|
||||||
let required = false
|
let required = false
|
||||||
if (user.lastFailedLogin) {
|
if (user.lastFailedLogin) {
|
||||||
|
|
Loading…
Reference in a new issue