feat(login): add OTP (email and sms) (#6353)

* feat: login with otp

* fix(i18n): japanese translation

* add missing files

* fix provider change

* add event types translations to en

* add tests

* resourceOwner

* remove unused handler

* fix: secret generators and add comments

* add setup step

* rename

* linting

* fix setup

* improve otp handling

* fix autocomplete

* translations for login and notifications

* translations for event types

* changes from review

* check selected mfa type
This commit is contained in:
Livio Spring
2023-08-15 14:47:05 +02:00
committed by GitHub
parent faa9ed4de9
commit 7c494fd219
76 changed files with 3203 additions and 88 deletions

View File

@@ -612,6 +612,24 @@ EventTypes:
check:
succeeded: 验证 MFA OTP 成功
failed: 验证 MFA OTP 失败
sms:
added: 添加了多因素 OTP 短信
removed: 删除了多因素 OTP 短信
code:
added: 添加了多因素 OTP 短信代码
sent: 已发送多因素 OTP 短信代码
check:
succeeded: 多因素 OTP 短信验证成功
failed: 多因素 OTP 短信验证失败
email:
added: 添加了多因素 OTP 电子邮件
removed: 删除了多因素 OTP 电子邮件
code:
added: 添加了多因素 OTP 电子邮件代码
sent: 已发送多因素 OTP 电子邮件代码
check:
succeeded: 多因素 OTP 电子邮件验证成功
failed: 多因素 OTP 电子邮件验证失败
u2f:
token:
added: 添加 MFA U2F 令牌