mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-07 15:21:58 +08:00
Currently, herb/formatter has at least 4 bugs the prevent us from switching to it (https://github.com/marcoroth/herb/issues 476, 477, 478, and 479). This includes manual fixes for each issue. herb/formatter also introduces a rubocop violation for the Layout/AssignmentIndentation cop. This disables that cop.
34 lines
1 KiB
Text
34 lines
1 KiB
Text
<% @page_title = "2FA - One-Time Password" %>
|
|
|
|
<% @page_message = "Verify your sign in" %>
|
|
|
|
<% form(action: rodauth.otp_auth_path, role: :form, method: :post, class: "rodauth space-y-6") do %>
|
|
<%== rodauth.otp_auth_additional_form_tags %>
|
|
|
|
<%== render("components/rodauth/otp_auth_code_field") %>
|
|
|
|
<div class="flex flex-col text-center">
|
|
<%== part("components/form/submit_button", text: rodauth.otp_auth_button) %>
|
|
<p class="mt-10 text-center text-sm text-gray-400">
|
|
Can't access your authentication app?
|
|
<br>
|
|
Can't access your authentication app?
|
|
<br>
|
|
<a
|
|
href="/<%= rodauth.recovery_auth_route %>"
|
|
class="font-semibold leading-6 text-orange-500 hover:text-orange-700"
|
|
>
|
|
Enter a recovery code
|
|
</a>
|
|
or
|
|
<a
|
|
href="mailto:support@ubicloud.com"
|
|
class="font-semibold leading-6 text-orange-500 hover:text-orange-700"
|
|
>
|
|
contact support
|
|
</a>
|
|
</p>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%== rodauth.otp_auth_form_footer %>
|