MM-52477 - remove recovery tokens when creating a new one (#23171)

* remove recovery tokens when creating a new one

* add app layers, unit test, i18 extract

* lint fixes

* fix unit test
Этот коммит содержится в:
Scott Bishel
2023-05-15 11:28:54 -06:00
коммит произвёл GitHub
родитель e4075dae18
Коммит 355bc6502c
5 изменённых файлов: 107 добавлений и 1 удалений

Просмотреть файл

@@ -4163,6 +4163,18 @@
"id": "api.user.get_users.validation.app_error",
"translation": "Error fetching roles during validation."
},
{
"id": "api.user.invalidate_password_recovery_tokens.error",
"translation": "Unable to get tokens by type when invalidating password recovery tokens"
},
{
"id": "api.user.invalidate_password_recovery_tokens_delete.error",
"translation": "Unable to remove token when invalidating password recovery tokens"
},
{
"id": "api.user.invalidate_password_recovery_tokens_parse.error",
"translation": "Unable to parse token when invalidating password recovery tokens"
},
{
"id": "api.user.invalidate_verify_email_tokens.error",
"translation": "Unable to get tokens by type when invalidating email verification tokens"