Reputation: 862
All I need is the following:
Register new user with email and password without sending any emails. Just enter email and two fields for password (second for checking typo in password) and new user will created in the database with salted password.
Login with just form with email and password. UserId saved in session.
Form with changing password for user. (two fields for new password and third for old password).
Logout button. UserId removed from the session.
Can it be reached with Yesod.Auth.Email
or, if not, how to do that in Yesod?
Upvotes: 4
Views: 434
Reputation: 850
Check out HashDB article on cookbook.
3 is just a page where these fields can be changed from the db.
4 is a link to AuthR LogoutR
Upvotes: 2