Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/sessions/two_factor.html.haml')
-rw-r--r--app/views/admin/sessions/two_factor.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/admin/sessions/two_factor.html.haml b/app/views/admin/sessions/two_factor.html.haml
index 3f915846dd8..3bbf768d7be 100644
--- a/app/views/admin/sessions/two_factor.html.haml
+++ b/app/views/admin/sessions/two_factor.html.haml
@@ -1,15 +1,15 @@
-- @hide_breadcrumbs = true
- page_title _('Enter 2FA for Admin Mode')
+- add_page_specific_style 'page_bundles/login'
.row.justify-content-center
.col-md-5.new-session-forms-container
.login-page
- #signin-container
- = render 'devise/shared/tab_single', tab_title: _('Enter Admin Mode')
+ #signin-container{ class: ('borderless' if Feature.enabled?(:restyle_login_page, @project)) }
+ = render 'devise/shared/tab_single', tab_title: _('Enter admin mode')
.tab-content
.login-box.tab-pane.gl-p-5.active{ id: 'login-pane', role: 'tabpanel' }
.login-body
- - if current_user.two_factor_otp_enabled?
+ - if current_user.two_factor_enabled?
= render 'admin/sessions/two_factor_otp'
- - if current_user.two_factor_webauthn_u2f_enabled?
+ - if current_user.two_factor_webauthn_enabled?
= render 'authentication/authenticate', render_remember_me: false, target_path: admin_session_path