mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 01:21:31 +00:00
Merge pull request #2863 from overleaf/ta-2fa-env
Use ENV Vars for 2FA Settings GitOrigin-RevId: 1b6f943ba5d9b58a2db2d082849a7f142d74a254
This commit is contained in:
parent
c4ec032ffa
commit
460be2d99e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
# ----------------
|
||||
|
|
Loading…
Reference in a new issue