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

@@ -85,6 +85,8 @@ InitMFAPrompt:
потребителски акаунт.
Provider0: 'Приложение за удостоверяване (напр. Google/Microsoft Authenticator, Authy)'
Provider1: 'Зависи от устройството (напр. FaceID, Windows Hello, пръстов отпечатък)'
Provider3: OTP SMS
Provider4: OTP имейл
NextButtonText: следващия
SkipButtonText: пропуснете
InitMFAOTP:
@@ -98,6 +100,15 @@ InitMFAOTP:
CodeLabel: Код
NextButtonText: следващия
CancelButtonText: анулиране
InitMFAOTPSMS:
Title: 2-факторна проверка
DescriptionPhone: Създайте своя 2-фактор. Въведете телефонния си номер, за да го потвърдите.
DescriptionCode: Създайте своя 2-фактор. Въведете получения код, за да потвърдите своя телефонен номер.
PhoneLabel: Тайна
CodeLabel: Код
EditButtonText: редактиране
ResendButtonText: код за препращане
NextButtonText: следващия
InitMFAU2F:
Title: Добавете ключ за сигурност
Description: >-
@@ -118,6 +129,8 @@ InitMFADone:
MFAProvider:
Provider0: 'Приложение за удостоверяване (напр. Google/Microsoft Authenticator, Authy)'
Provider1: 'Зависи от устройството (напр. FaceID, Windows Hello, пръстов отпечатък)'
Provider3: OTP SMS
Provider4: OTP имейл
ChooseOther: или изберете друга опция
VerifyMFAOTP:
Title: Проверете 2-фактора