OTP/2FA config template & luciano blocktronics theme

This commit is contained in:
Bryan Ashby 2019-06-15 22:18:51 -06:00
parent 42ac6f8689
commit abc6a36275
No known key found for this signature in database
GPG key ID: B49EB437951D2542
5 changed files with 139 additions and 1 deletions

View file

@ -34,13 +34,14 @@ const MciViewIds = {
enableToggle : 1,
otpType : 2,
submit : 3,
infoText : 4,
customRangeStart : 10, // 10+ = customs
};
const DefaultMsg = {
infoText: {
disabled : 'Enabling 2-Factor Authentication via One-Time-Password (2FA/OTP) can greatly increase the security of your account.',
disabled : 'Enabling 2-factor authentication can greatly increase account security.',
enabled : 'A valid email address set in user config is required to enable 2-Factor Authentication.',
rfc6238_TOTP : 'Time-Based One-Time-Password (TOTP, RFC-6238).',
rfc4266_HOTP : 'HMAC-Based One-Time-Password (HOTP, RFC-4266).',