mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
20 lines
887 B
Text
20 lines
887 B
Text
<% provide(:head_title, '2FA Bypass') %>
|
|
<% content_for(:body_class, 'sign-in-layout') %>
|
|
<div class="sign-in-container">
|
|
<div class="sign-in-form-wrapper">
|
|
<div class="center-block center-block-narrow">
|
|
<h1 class="log-in-title"><%= t "devise.sessions.2fa_recovery.title" %></h1>
|
|
<%= form_with url: users_authenticate_with_recovery_code_path, local: true do %>
|
|
<p><%= t "devise.sessions.2fa_recovery.description" %></p>
|
|
<p class="input-group sci-input-container">
|
|
<%= label :recovery_code, t("devise.sessions.2fa_recovery.bypass_code") %>
|
|
<%= text_field_tag(:recovery_code, '', { class: "form-control sci-input-field" })%>
|
|
</p>
|
|
|
|
<div class="actions">
|
|
<%= button_tag t("devise.sessions.2fa_recovery.enter"), type: :submit, class: "btn btn-primary" %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|