From 5546c27feac1aa4b3ce99ed194519301d61f97ef Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Thu, 22 May 2025 06:08:42 +0000 Subject: [PATCH] chore: reset two-factor authentication after changing admin credentials --- web/html/modals/two_factor_modal.html | 18 ++++--------- web/html/settings.html | 37 ++++++++++++++++++++++----- web/service/user.go | 10 ++++++++ web/translation/translate.ar_EG.toml | 2 ++ web/translation/translate.en_US.toml | 2 ++ web/translation/translate.es_ES.toml | 2 ++ web/translation/translate.fa_IR.toml | 2 ++ web/translation/translate.id_ID.toml | 2 ++ web/translation/translate.ja_JP.toml | 2 ++ web/translation/translate.pt_BR.toml | 2 ++ web/translation/translate.ru_RU.toml | 2 ++ web/translation/translate.tr_TR.toml | 2 ++ web/translation/translate.uk_UA.toml | 2 ++ web/translation/translate.vi_VN.toml | 2 ++ web/translation/translate.zh_CN.toml | 2 ++ web/translation/translate.zh_TW.toml | 2 ++ 16 files changed, 71 insertions(+), 20 deletions(-) diff --git a/web/html/modals/two_factor_modal.html b/web/html/modals/two_factor_modal.html index 7823485f..13d22a5e 100644 --- a/web/html/modals/two_factor_modal.html +++ b/web/html/modals/two_factor_modal.html @@ -15,8 +15,8 @@
{{ i18n "pages.settings.security.twoFactorModalSecondStep" }}
{{ i18n "pages.settings.security.twoFactorModalRemoveStep" }}
+ +[[ twoFactorModal.description ]]