mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 16:28:21 +00:00
oh no!
This commit is contained in:
parent
85277ec32a
commit
36aa828fb1
2 changed files with 19 additions and 4 deletions
|
|
@ -38,9 +38,21 @@
|
|||
</div>
|
||||
|
||||
<div x-show="!browserSupported" x-cloak class="auth-card">
|
||||
<div class="alert alert-warning">
|
||||
<strong>Browser Not Supported</strong>
|
||||
<p><%= t(".browser_not_supported") %></p>
|
||||
<header>
|
||||
<h1><%= t(".title") %></h1>
|
||||
<small><%= t(".browser_not_supported") %></small>
|
||||
</header>
|
||||
|
||||
<div class="alert alert-warning" style="margin-bottom: 1.5rem;">
|
||||
<strong>Passkeys Not Supported</strong>
|
||||
<p>Your browser doesn't support passkeys, but you can still sign in with an email code.</p>
|
||||
</div>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<%= button_to t(".use_email_code"),
|
||||
skip_webauthn_login_attempt_path(@attempt),
|
||||
method: :post,
|
||||
class: "btn" %>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -99,9 +99,12 @@
|
|||
</div>
|
||||
|
||||
<div x-show="!browserSupported" x-cloak>
|
||||
<div class="alert alert-error">
|
||||
<div class="alert alert-warning" style="margin-bottom: 1rem;">
|
||||
Your browser doesn't support passkeys. Please use a different verification method.
|
||||
</div>
|
||||
<p style="text-align: center;">
|
||||
<%= link_to "Choose a different method →", new_step_up_path(action_type: @action, return_to: @return_to), class: "btn" %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<%= form_with url: verify_step_up_webauthn_path, method: :post, local: true, id: "step-up-webauthn-form" do |f| %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue