diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-17 03:08:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-17 03:08:20 +0300 |
commit | 3f98f1e47b16b2b1d7a2e8a86252e002c2496098 (patch) | |
tree | 197eb008d51c312f3fc06c1e4cd2ecdda69576ea /app/views/admin/sessions/two_factor.html.haml | |
parent | d62742b0169769191b32038cf20445a47db3b287 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/admin/sessions/two_factor.html.haml')
-rw-r--r-- | app/views/admin/sessions/two_factor.html.haml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/admin/sessions/two_factor.html.haml b/app/views/admin/sessions/two_factor.html.haml index 898d47f446a..2c4a1c2456a 100644 --- a/app/views/admin/sessions/two_factor.html.haml +++ b/app/views/admin/sessions/two_factor.html.haml @@ -6,8 +6,7 @@ .login-page .borderless .login-box.gl-p-5 - .login-body - - if current_user.two_factor_enabled? - = render 'admin/sessions/two_factor_otp' - - if current_user.two_factor_webauthn_enabled? - = render 'authentication/authenticate', render_remember_me: false, target_path: admin_session_path + - if current_user.two_factor_enabled? + = render 'admin/sessions/two_factor_otp' + - if current_user.two_factor_webauthn_enabled? + = render 'authentication/authenticate', render_remember_me: false, target_path: admin_session_path |