team-alembic / ash_authentication

The Ash Authentication framework
MIT License
96 stars 55 forks source link

fix: Use correct typespec for `AshAuthentication.Sender.send/3` callback #836

Closed sevenseacat closed 2 weeks ago

sevenseacat commented 2 weeks ago

In the Magic Link strategy, the send function is called with either a user (if logging in to an existing account) or just an email address (if creating a new account). The typespec should reflect this!