2019-04-01 13:18:53 -04:00
|
|
|
<%if @error%>
|
|
|
|
<div class='alert alert-error'>
|
|
|
|
<%= @error %>
|
|
|
|
</div>
|
2019-06-12 13:32:13 -04:00
|
|
|
<%else%>
|
|
|
|
<%= form_tag do%>
|
|
|
|
<h2><%= t("user_api_key.otp_confirmation.confirm_title", site_name: SiteSetting.title) %></h2>
|
|
|
|
<p><%= t("user_api_key.otp_confirmation.logging_in_as", username: @otp_username) %></p>
|
|
|
|
<%= submit_tag(t("user_api_key.otp_confirmation.confirm_button"), class: "btn btn-primary") %>
|
|
|
|
<%end%>
|
2019-04-01 13:18:53 -04:00
|
|
|
<%end%>
|