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] <support@github.com>
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Max Peintner
2023-08-16 06:37:16 +02:00
committed by GitHub
parent 26b28ed2af
commit a262595fc2
31 changed files with 3641 additions and 2547 deletions

View File

@@ -412,7 +412,7 @@
"DESCRIPTION": "Add a second factor to ensure optimal security for your account.",
"MANAGE_DESCRIPTION": "Manage the second factor methods of your users.",
"ADD": "Add Factor",
"OTP": "Authenticator App for OTP (One-Time Password)",
"OTP": "Authenticator App for TOTP (Time-based One-Time Password)",
"OTP_DIALOG_TITLE": "Add OTP",
"OTP_DIALOG_DESCRIPTION": "Scan the QR code with an authenticator app and enter the code below to verify and activate the OTP method.",
"U2F": "Fingerprint, Security Keys, Face ID and other",
@@ -421,6 +421,12 @@
"U2F_SUCCESS": "Factor added successfully!",
"U2F_ERROR": "An error during setup occurred!",
"U2F_NAME": "Authenticator Name",
"OTPSMS": "OTP (One-Time Password) with SMS",
"OTPEMAIL": "OTP (One-Time Password) with Email",
"SETUPOTPSMSDESCRIPTION": "Do you want to setup this phonenumber as OTP (One-Time password) second factor?",
"OTPSMSSUCCESS": "OTP factor set up with success.",
"OTPSMSPHONEMUSTBEVERIFIED": "Your phone must be verified in order to use this method.",
"OTPEMAILSUCCESS": "OTP factor set up with success.",
"TYPE": {
"0": "No MFA defined",
"1": "One Time Password (OTP)",
@@ -587,7 +593,8 @@
"EDITVALUE": "Phone number",
"EDITDESC": "Enter the new phone number in the field below.",
"DELETETITLE": "Delete phone number",
"DELETEDESC": "Do you really want to delete the phone number"
"DELETEDESC": "Do you really want to delete the phone number",
"OTPSMSREMOVALWARNING": "This account uses this phone number as second factor. You won't be able to use it after you proceed."
},
"RESENDCODE": "Resend Code",
"ENTERCODE": "Verify",