Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/devise/webauthn/helpers/credentials_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def login_with_passkey_button(text = nil, session_path:, button_classes: nil, fo
method: :post,
class: form_classes
) do |f|
tag.webauthn_get(data: { options_url: passkey_authentication_options_path(resource) }) do
tag.webauthn_get(data: { options_url: passkey_authentication_options_path(resource_name) }) do
Comment thread
santiagorodriguez96 marked this conversation as resolved.
Outdated
concat f.hidden_field(:public_key_credential, data: { webauthn_target: "response" })

concat f.button(text, type: "submit", class: button_classes, &block)
Expand Down