mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 05:33:01 +00: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) {
|
||||
switch (AuthenticationController.getAuditInfo(req).captcha) {
|
||||
case 'trusted':
|
||||
case 'disabled':
|
||||
return false
|
||||
case 'solved':
|
||||
return false
|
||||
case 'trusted':
|
||||
case 'skipped': {
|
||||
let required = false
|
||||
if (user.lastFailedLogin) {
|
||||
|
|
Loading…
Reference in a new issue