ruby-passkeys / devise-passkeys

Devise extension to use passkeys instead of passwords
MIT License
161 stars 12 forks source link

Port `Devise.add_module` from template repo #13

Closed tcannonfodder closed 1 year ago

tcannonfodder commented 1 year ago

See: https://github.com/ruby-passkeys/devise-passkeys-template/blob/main/app/models/user.rb#L18

I'm pretty sure we can move this into the repo at the end of https://github.com/ruby-passkeys/devise-passkeys/blob/main/lib/devise/passkeys/model.rb

Alternatively, we could provide a helper method to create the add_module definition, but that feels like it's a bit too much configuration vs. following convention.

tcannonfodder commented 1 year ago

Closed because #17 addresses the root problem (lack of documentation)