mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01: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:
committed by
Copybot
parent
3891c147d4
commit
ced5c90625
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user