mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-07 23:31: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.
21 lines
689 B
Text
21 lines
689 B
Text
<% @page_message = "Your one-time password authentication has been locked out, and you must wait to unlock it." %>
|
|
|
|
<div class="space-y-6">
|
|
<p>
|
|
<%= rodauth.otp_unlock_consecutive_successes_label %>: <%= rodauth.otp_unlock_num_successes %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= rodauth.otp_unlock_required_consecutive_successes_label %>: <%= rodauth.otp_unlock_auths_required %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= rodauth.otp_unlock_next_auth_deadline_label %>: <%= (rodauth.otp_unlock_deadline - Time.now).to_i %> seconds
|
|
</p>
|
|
|
|
<p>
|
|
Page will automatically refresh when authentication is possible (in
|
|
<%= (rodauth.otp_unlock_next_auth_attempt_after - Time.now).to_i + 1 %>
|
|
seconds).
|
|
</p>
|
|
</div>
|