-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Currently, Doorman.authenticate/2 is hardcoded to find the user by an email field. This is the only thing in the library that depends on it, and it would nice to have that be more flexible.
For example, you could search for username:
Doorman.authenticate(password, username: username)
Or admins:
Doorman.authenticate(password, admin: true, email: email)
BlakeWilliams, Preen, henrique-ft and fibrasek
Metadata
Metadata
Assignees
Labels
No labels