* Isolate more the mfa service

* Simplifing the mfa service

* Removing channels and adding waitgroup

* Migrating mfa service to regular errors

* Fixing tests

* i18n extract

* Addressing PR review comments

* Removing unneeded struct
Этот коммит содержится в:
Jesús Espino
2021-02-18 12:12:21 +01:00
коммит произвёл GitHub
родитель 7585e16d84
Коммит 5f190b5624
7 изменённых файлов: 146 добавлений и 255 удалений

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

@@ -6935,33 +6935,21 @@
"translation": "Mattermost Security Bulletin"
},
{
"id": "mfa.activate.authenticate.app_error",
"translation": "Error attempting to authenticate MFA token."
"id": "mfa.activate.app_error",
"translation": "Unable to update MFA active status for the user."
},
{
"id": "mfa.activate.bad_token.app_error",
"translation": "Invalid MFA token."
},
{
"id": "mfa.activate.save_active.app_error",
"id": "mfa.deactivate.app_error",
"translation": "Unable to update MFA active status for the user."
},
{
"id": "mfa.deactivate.save_active.app_error",
"translation": "Unable to update MFA active status for the user."
},
{
"id": "mfa.deactivate.save_secret.app_error",
"translation": "Error clearing the MFA secret."
},
{
"id": "mfa.generate_qr_code.create_code.app_error",
"translation": "Error generating QR code."
},
{
"id": "mfa.generate_qr_code.save_secret.app_error",
"translation": "Error saving the MFA secret."
},
{
"id": "mfa.mfa_disabled.app_error",
"translation": "Multi-factor authentication has been disabled on this server."