Documentation

+ User 2FA/OTP Config mod docs
* Add to nav
This commit is contained in:
Bryan Ashby 2019-06-15 18:11:54 -06:00
parent b5a3c030ab
commit 91fa8243c8
No known key found for this signature in database
GPG key ID: B49EB437951D2542
4 changed files with 59 additions and 7 deletions

View file

@ -31,20 +31,19 @@ const FormIds = {
};
const MciViewIds = {
enableToggle : 1,
otpType : 2,
submit : 3,
infoText : 4,
enableToggle : 1,
otpType : 2,
submit : 3,
customRangeStart : 10, // 10+ = customs
};
const DefaultMsg = {
infoText: {
disabled : 'Enabling 2-Factor Authentication via One-Time-Password can greatly increase the security of your account.',
disabled : 'Enabling 2-Factor Authentication via One-Time-Password (2FA/OTP) can greatly increase the security of your account.',
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-Passowrd (HOTP, RFC-4266).',
rfc4266_HOTP : 'HMAC-Based One-Time-Password (HOTP, RFC-4266).',
googleAuth : 'Google Authenticator.',
},
statusText : {