mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 04:41:32 +02:00
Merge pull request #2863 from overleaf/ta-2fa-env
Use ENV Vars for 2FA Settings GitOrigin-RevId: 1b6f943ba5d9b58a2db2d082849a7f142d74a254
This commit is contained in:
@@ -239,8 +239,8 @@ module.exports = settings =
|
||||
httpAuthUsers: httpAuthUsers
|
||||
|
||||
twoFactorAuthentication:
|
||||
enabled: false
|
||||
requiredForStaff: false
|
||||
enabled: process.env['TWO_FACTOR_AUTHENTICATION_ENABLED'] == 'true'
|
||||
requiredForStaff: process.env['TWO_FACTOR_AUTHENTICATION_REQUIRED_FOR_STAFF'] == 'true'
|
||||
|
||||
# Default features
|
||||
# ----------------
|
||||
|
||||
Reference in New Issue
Block a user