Hr.JWTController
The default implementation of JWTController. If you want to override it, either direct your routes to your own implementation (if you want to just override a couple of actions), or implement YourApp.HrJWTController
with use Hr.BaseJWTController
.
Summary
Functions
Callback implementation for c:Plug.call/2
Confirms the email for the user
Reset the user's password
If the email exists, send a reset link
Check if the submitted credentials are valid, if they are, create a session
Create a new user if the email address isn't already taken
Callback implementation for c:Plug.init/1
Functions
Check if the submitted credentials are valid, if they are, create a session