Sha256: ef7b6f094933ef7915c4f109cd99275776b547d83ab3f5814450c0f84ee33e52

Contents?: true

Size: 874 Bytes

Versions: 2

Compression:

Stored size: 874 Bytes

Contents

.f__fieldset
  .f__legend=t('authentication.two_factor')
  - if resource.otp_required_for_login
    .f
      .f__wrapper
        .f-field
          .f-field__label
            label.f-label=t('authentication.key')
          .f-field__container
            .f-field__text =resource.otp.secret
        .f-field
          .f-field__label
            label.f-label Google Authenticator QR
          .f-field__container
            = google_authenticator_qrcode(resource)
        .f-field
          .f-field__container
            = link_to t('authentication.switch_off_2fa'), toggle_two_factor_admin_profile_path, method: :post, class: 'btn btn btn-primary'
  - else
    .f
      .f__wrapper
        .f-field
          .f-field__container
            = link_to t('authentication.switch_on_2fa'), toggle_two_factor_admin_profile_path, method: :post, class: 'btn btn btn-primary'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/two_facto_auth/auto/app/views/admin/profiles/_2fa.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/two_facto_auth/auto/app/views/admin/profiles/_2fa.slim