Implement Passkey registration
- Create Identity credentials - Add management UI and registration flow
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
<div class="settings__panel panel shadow txt-align-center">
|
||||
<div class="flex flex-column gap position-relative">
|
||||
<% if Current.user == @user %>
|
||||
<%= link_to user_credentials_path(@user), class: "user-edit-link btn", style: "inset: 0 auto auto 0", data: { controller: "tooltip" } do %>
|
||||
🔑
|
||||
<span class="for-screen-reader">Manage passkeys</span>
|
||||
<% end %>
|
||||
|
||||
<%= link_to edit_user_path(@user), class: "user-edit-link btn", data: { controller: "tooltip" } do %>
|
||||
<%= icon_tag "pencil" %>
|
||||
<span class="for-screen-reader">Edit profile</span>
|
||||
|
||||
Reference in New Issue
Block a user