Revert "use ENv vars for 2FA settings"

This reverts commit b32b2d62d0f9145e5c59b8984b44940c855a1d91.

GitOrigin-RevId: 81a4d3bc292d89dabf9f292f2d08e3ee7b69a509
This commit is contained in:
Tim Alby 2020-05-25 18:00:07 +02:00 committed by Copybot
parent 9279e97cdc
commit deeaed66f9

View file

@ -225,8 +225,8 @@ module.exports = settings =
httpAuthUsers: httpAuthUsers
twoFactorAuthentication:
enabled: process.env['TWO_FACTOR_AUTHENTICATION_ENABLED'] == 'true'
requiredForStaff: process.env['TWO_FACTOR_AUTHENTICATION_REQUIRED_FOR_STAFF'] == 'true'
enabled: false
requiredForStaff: false
# Default features
# ----------------