Closed tcannonfodder closed 1 year ago
The :maximum_passkeys_per_user attribute is legacy code from the early experiments in the gem (see: https://github.com/ruby-passkeys/devise-passkeys/blob/main/lib/devise/passkeys/passkey_issuer.rb#L38).
:maximum_passkeys_per_user
And validations/limits on the number of passkeys that can be created should be handled by the app itself. This keeps the gem focused, reduces our maintenance overhead, and gives implementors control over the exact behavior
@tcannonfodder I can take this issue when I return home.
Created a pull request for this issue: https://github.com/ruby-passkeys/devise-passkeys/pull/41
The
:maximum_passkeys_per_user
attribute is legacy code from the early experiments in the gem (see: https://github.com/ruby-passkeys/devise-passkeys/blob/main/lib/devise/passkeys/passkey_issuer.rb#L38).And validations/limits on the number of passkeys that can be created should be handled by the app itself. This keeps the gem focused, reduces our maintenance overhead, and gives implementors control over the exact behavior