From 3ccfb864db12e59d40e8ae18fd137444379a8c7e Mon Sep 17 00:00:00 2001 From: Jay Ohms Date: Fri, 27 Mar 2026 04:41:43 -0400 Subject: [PATCH] Hide the links to manage passkeys and sign out from the webview in the native apps --- app/views/users/show.html.erb | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index c30f67de4..028335a26 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -39,16 +39,18 @@ <% end %> <% if Current.user == @user %> - +
+ - <%= link_to my_passkeys_path, class: "btn txt-x-small center" do %> - <%= icon_tag "authentication" %> - Manage passkeys - <% end %> + <%= link_to my_passkeys_path, class: "btn txt-x-small center" do %> + <%= icon_tag "authentication" %> + Manage passkeys + <% end %> - <%= button_to session_path(script_name: nil), method: :delete, class: "btn txt-x-small center", form: { data: { turbo: false, controller: "clear-offline-cache", action: "submit->clear-offline-cache#clearCache" } } do %> - Sign out of Fizzy on this device - <% end %> + <%= button_to session_path(script_name: nil), method: :delete, class: "btn txt-x-small center", form: { data: { turbo: false, controller: "clear-offline-cache", action: "submit->clear-offline-cache#clearCache" } } do %> + Sign out of Fizzy on this device + <% end %> +
<% end %>