From 7341c18e0f4a4b02668c74dba5a8136d848d377c Mon Sep 17 00:00:00 2001 From: Jimmy Domagala-Tang Date: Fri, 1 Dec 2023 09:07:16 -0500 Subject: [PATCH] Merge pull request #16069 from overleaf/jdt-add-staging-trusted-writefull Add writeful to trusted users, and fix trusted logic GitOrigin-RevId: 526d8a77e8d5c56e94a6d671e811bfdbb74e2ac6 --- .../app/src/Features/Authentication/AuthenticationController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/src/Features/Authentication/AuthenticationController.js b/services/web/app/src/Features/Authentication/AuthenticationController.js index 32b294962b..3ad4709032 100644 --- a/services/web/app/src/Features/Authentication/AuthenticationController.js +++ b/services/web/app/src/Features/Authentication/AuthenticationController.js @@ -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) {