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

two_factor.html.haml « sessions « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2c4a1c2456a23071bcf470544dee9a33be9e4fec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- page_title _('Two-factor authentication for admin mode')
- add_page_specific_style 'page_bundles/login'

.row.justify-content-center
  .col-md-5
    .login-page
      .borderless
        .login-box.gl-p-5
          - 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