mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-03 19:24:48 +08:00
Small 2fa fixes
This commit is contained in:
parent
1a8333612a
commit
33e3e3d301
4 changed files with 4 additions and 2 deletions
|
@ -89,6 +89,7 @@
|
|||
$('#twoFactorAuthenticationModal .qr-code').html(result.qr_code);
|
||||
$('#twoFactorAuthenticationModal').find('[href="#2fa-step-1"]').tab('show');
|
||||
$('#twoFactorAuthenticationModal').modal('show');
|
||||
$('#twoFactorAuthenticationModal').find('.submit-code-field').removeClass('error').find('#submit_code').val('');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<%= f.label t("users.registrations.edit.email_label") %>
|
||||
<div class="user-attribute">
|
||||
<%= @user.email %>
|
||||
<a href="#" class="btn btn-default" data-action="edit"><%=t "general.edit" %></a>
|
||||
<a href="#" class="btn btn-default" data-action="edit"><%= t("general.change") %></a>
|
||||
</div>
|
||||
<% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
|
||||
<div class="alert alert-info" style="margin-top: 15px;" role="alert">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<%= f.label t("users.registrations.edit.password_label") %>
|
||||
<div class="user-attribute">
|
||||
••••••••••••
|
||||
<a href="#" class="btn btn-default" data-action="edit"><%=t "general.edit" %></a>
|
||||
<a href="#" class="btn btn-default" data-action="edit"><%=t("general.change") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2329,6 +2329,7 @@ en:
|
|||
save: "Save"
|
||||
close: "Close"
|
||||
create: 'Create'
|
||||
change: "Change"
|
||||
no_comments: "No comments!"
|
||||
more_comments: "More comments"
|
||||
comment_placeholder: "Your Message"
|
||||
|
|
Loading…
Reference in a new issue