From 36aa828fb1c0803451cd8482132729ee21ddd46b Mon Sep 17 00:00:00 2001 From: 24c02 <163450896+24c02@users.noreply.github.com> Date: Wed, 28 Jan 2026 23:32:08 -0500 Subject: [PATCH] oh no! --- app/views/logins/webauthn.html.erb | 18 +++++++++++++++--- app/views/step_up/new.html.erb | 5 ++++- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/app/views/logins/webauthn.html.erb b/app/views/logins/webauthn.html.erb index 7c0b3a5..0ade747 100644 --- a/app/views/logins/webauthn.html.erb +++ b/app/views/logins/webauthn.html.erb @@ -38,9 +38,21 @@
-
- Browser Not Supported -

<%= t(".browser_not_supported") %>

+
+

<%= t(".title") %>

+ <%= t(".browser_not_supported") %> +
+ +
+ Passkeys Not Supported +

Your browser doesn't support passkeys, but you can still sign in with an email code.

+ +

+ <%= button_to t(".use_email_code"), + skip_webauthn_login_attempt_path(@attempt), + method: :post, + class: "btn" %> +

diff --git a/app/views/step_up/new.html.erb b/app/views/step_up/new.html.erb index ff48356..0d084f6 100644 --- a/app/views/step_up/new.html.erb +++ b/app/views/step_up/new.html.erb @@ -99,9 +99,12 @@
-
+
Your browser doesn't support passkeys. Please use a different verification method.
+

+ <%= link_to "Choose a different method →", new_step_up_path(action_type: @action, return_to: @return_to), class: "btn" %> +

<%= form_with url: verify_step_up_webauthn_path, method: :post, local: true, id: "step-up-webauthn-form" do |f| %>