* Add Notify MFA * Fix unit test * Address review comment, change storage implementation * Add retry limit to mfa module * Fix loading * Fix invalaid login log processing * Typing * Change default message template * Change one-time password to 8 digit * Refactoring to not save secret * Bug fixing * Change async_initialize method name to aysnc_initialize_login_mfa_step * Address some simple fix code review comment
36 lines
1.4 KiB
JSON
36 lines
1.4 KiB
JSON
{
|
|
"mfa_setup":{
|
|
"totp": {
|
|
"title": "TOTP",
|
|
"step": {
|
|
"init": {
|
|
"title": "Set up two-factor authentication using TOTP",
|
|
"description": "To activate two factor authentication using time-based one-time passwords, scan the QR code with your authentication app. If you don't have one, we recommend either [Google Authenticator](https://support.google.com/accounts/answer/1066447) or [Authy](https://authy.com/).\n\n{qr_code}\n\nAfter scanning the code, enter the six digit code from your app to verify the setup. If you have problems scanning the QR code, do a manual setup with code **`{code}`**."
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_code": "Invalid code, please try again. If you get this error consistently, please make sure the clock of your Home Assistant system is accurate."
|
|
}
|
|
},
|
|
"notify": {
|
|
"title": "Notify One-Time Password",
|
|
"step": {
|
|
"init": {
|
|
"title": "Set up one-time password delivered by notify component",
|
|
"description": "Please select one of notify service:"
|
|
},
|
|
"setup": {
|
|
"title": "Verify setup",
|
|
"description": "A one-time password have sent by **notify.{notify_service}**. Please input it in below:"
|
|
}
|
|
},
|
|
"abort": {
|
|
"no_available_service": "No available notify services."
|
|
},
|
|
"error": {
|
|
"invalid_code": "Invalid code, please try again."
|
|
}
|
|
}
|
|
}
|
|
}
|