Add Notify MFA module (#16314)
* 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
This commit is contained in:
1 parent
ad47ece5c6
commit
7a77951bb4
16 files changed
+799
-24
No files matched your search
@@ -475,7 +475,7 @@ async def async_process_ha_core_config(
|
||||
auth_conf.append({'type': 'trusted_networks'})
|
||||
|
||||
mfa_conf = config.get(CONF_AUTH_MFA_MODULES, [
|
||||
{'type': 'totp', 'id': 'totp', 'name': 'Authenticator app'}
|
||||
{'type': 'totp', 'id': 'totp', 'name': 'Authenticator app'},
|
||||
])
|
||||
|
||||
setattr(hass, 'auth', await auth.auth_manager_from_config(
|
||||
|
||||
Reference in new issue
Block a user