Add mandatory 2FA flag

part of #716
This commit is contained in:
Girish Ramakrishnan
2020-07-10 10:00:03 -07:00
parent 9ee6aa54c6
commit ed9210eede
4 changed files with 6 additions and 2 deletions

View File

@@ -142,7 +142,8 @@ function getConfig(callback) {
cloudronName: allSettings[settings.CLOUDRON_NAME_KEY],
footer: allSettings[settings.FOOTER_KEY] || constants.FOOTER,
features: appstore.getFeatures(),
profileLocked: allSettings[settings.DIRECTORY_CONFIG_KEY].lockUserProfiles
profileLocked: allSettings[settings.DIRECTORY_CONFIG_KEY].lockUserProfiles,
mandatory2FA: allSettings[settings.DIRECTORY_CONFIG_KEY].mandatory2FA
});
});
}