feat(console): add otp sms and otp email as factor (#6343)

* cli, core

* material cdk

* schematics

* chore(deps-dev): bump eslint from 8.40.0 to 8.44.0 in /console (#6127)

Bumps [eslint](https://github.com/eslint/eslint) from 8.40.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.40.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* npm

* feat: add otp sms button

* lock

* rm package-lock

* prompt to setup sms otp on verify

* cli, core

* material, cdk

* schematics

* otp email

* show type

* show type on mgmt page

* disable selection on add

* rename totp

* fix totp i18n

* directly use data, fix styles

* sms req

* fix type check

* fix delete

* rm comment

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Max Peintner
2023-08-16 04:37:16 +00:00
committed by GitHub
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Livio Spring
parent 26b28ed2af
commit a262595fc2
31 changed files with 3641 additions and 2547 deletions
+9 -2
View File
@@ -411,7 +411,7 @@
"DESCRIPTION": "添加第二个因素以确保您帐户的最佳安全性。",
"MANAGE_DESCRIPTION": "管理用户的第二因素身份认证方式。",
"ADD": "添加因子",
"OTP": "用于 OTP 的身份验证器应用程序",
"OTP": "用于 TOTP 的身份验证器应用程序",
"OTP_DIALOG_TITLE": "添加 OTP",
"OTP_DIALOG_DESCRIPTION": "使用验证器应用程序扫描二维码并输入下面的代码以验证并激活 OTP 方法。",
"U2F": "指纹、安全密钥、Face ID 等",
@@ -420,6 +420,12 @@
"U2F_SUCCESS": "身份验证因子添加成功!",
"U2F_ERROR": "安装过程中发生错误!",
"U2F_NAME": "身份验证器名称",
"OTPSMS": "带短信的 OTP(一次性密码)",
"OTPEMAIL": "带电子邮件的 OTP(一次性密码)",
"SETUPOTPSMSDESCRIPTION": "您想将此电话号码设置为 OTP(一次性密码)第二因素吗?",
"OTPSMSSUCCESS": "OTP 因子设置成功。",
"OTPSMSPHONEMUSTBEVERIFIED": "您的手机必须经过验证才能使用此方法。",
"OTPEMAILSUCCESS": "OTP 因子设置成功。",
"TYPE": {
"0": "未定义 MFA",
"1": "一次性密码 (OTP)",
@@ -586,7 +592,8 @@
"EDITVALUE": "手机号码",
"EDITDESC": "在下面的字段中输入新的手机号码。",
"DELETETITLE": "删除手机号码",
"DELETEDESC": "你真的要删除手机号码吗"
"DELETEDESC": "你真的要删除手机号码吗",
"OTPSMSREMOVALWARNING": "此帐户使用此电话号码作为第二因素。继续后您将无法使用它。"
},
"RESENDCODE": "重新发送验证码",
"ENTERCODE": "验证",