Phauxth v2.0.0 Release Notes
-
✨ Enhancements
- updated to use Elixir 1.7
- Elixir versions 1.5 - 1.7 include various improvements to how behaviours are handled
- you now only have to define a
get_by(attrs)
function in the user_context module (get/1
is no longer needed)
🔄 Changes
- Removed Phauxth.Confirm.Login
- the Confirm.verify/3 and Login.verify/3 are now Confirm.verify/2 and Login.verify/2
- the user_context is now set in the config
- Phauxth.Confirm.verify with the
:pass_reset mode
is now Phauxth.Confirm.PassReset.verify - to use Phauxth.Remember, you need to define a
create_session(conn)
function in your app - Phauxth.Token is now a behaviour
- you will need to define a token module using this behaviour in your app if you are using Phauxth for token authentication, email confirmation or password resetting