diff --git a/rhodecode/apps/my_account/views/my_account.py b/rhodecode/apps/my_account/views/my_account.py --- a/rhodecode/apps/my_account/views/my_account.py +++ b/rhodecode/apps/my_account/views/my_account.py @@ -209,7 +209,7 @@ class MyAccountView(BaseAppView, DataGri def my_account_2fa(self): _ = self.request.translate c = self.load_default_context() - c.active = '2FA' + c.active = '2fa' user_instance = c.auth_user.get_instance() locked_by_admin = user_instance.has_forced_2fa c.state_of_2fa = user_instance.has_enabled_2fa @@ -223,7 +223,7 @@ class MyAccountView(BaseAppView, DataGri def my_account_2fa_update(self): _ = self.request.translate c = self.load_default_context() - c.active = '2FA' + c.active = '2fa' user_instance = c.auth_user.get_instance() state = self.request.POST.get('2fa_status') == '1' diff --git a/rhodecode/templates/admin/my_account/my_account.mako b/rhodecode/templates/admin/my_account/my_account.mako --- a/rhodecode/templates/admin/my_account/my_account.mako +++ b/rhodecode/templates/admin/my_account/my_account.mako @@ -28,7 +28,7 @@
  • ${_('Profile')}
  • ${_('Emails')}
  • ${_('Password')}
  • -
  • ${_('2FA')}
  • +
  • ${_('2FA')}
  • ${_('Bookmarks')}
  • ${_('Auth Tokens')}
  • ${_('SSH Keys')}