[WEB-5518]: update magic code token to send code as 6 digit numbers (#8188)
* refactor: simplify token generation in MagicCodeProvider by using a numeric approach * fix: update placeholder text for unique code input across multiple languages * refactor: replace token generation with a numeric approach for user email updates * fix: update placeholder text for unique code input in multiple languages to a numeric format * refactor: replace random token generation with secrets for enhanced security in user email updates and magic code provider
This commit is contained in:
parent
980428b204
commit
a7e2e596bf
23 changed files with 39 additions and 54 deletions
|
|
@ -74,7 +74,7 @@ export default {
|
|||
},
|
||||
unique_code: {
|
||||
label: "Уникальный код",
|
||||
placeholder: "gets-sets-flys",
|
||||
placeholder: "123456",
|
||||
paste_code: "Вставьте код, отправленный на ваш email",
|
||||
requesting_new_code: "Запрос нового кода",
|
||||
sending_code: "Отправка кода",
|
||||
|
|
@ -1549,7 +1549,7 @@ export default {
|
|||
},
|
||||
code: {
|
||||
label: "Уникальный код",
|
||||
placeholder: "gets-sets-flys",
|
||||
placeholder: "123456",
|
||||
helper_text: "Код подтверждения отправлен на ваш новый email.",
|
||||
errors: {
|
||||
required: "Уникальный код обязателен",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue