Fix enforcement text on MFA setup page (#5042)

This commit is contained in:
Joram Wilander
2017-01-12 10:04:43 -05:00
committed by Harrison Healey
parent 04893cbe7c
commit a5dd7e6d63

View File

@@ -67,7 +67,7 @@ export default class Setup extends React.Component {
}
let mfaRequired;
if (global.window.mm_config.EnforceMultifactorAuthentication) {
if (global.window.mm_config.EnforceMultifactorAuthentication === 'true') {
mfaRequired = (
<p>
<FormattedHTMLMessage