GitOrigin-RevId: b32b2d62d0f9145e5c59b8984b44940c855a1d91
@@ -225,8 +225,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
# ----------------