You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To protect users' data a login process is necessary. The username must be the user's e-mail, and the password cannot be stored in the database as plain text.
DO NOT STORE passwords as plain text in the database.
Use email as username.
Tests
Two users cannot be registered with the same e-mail.
Logged in users must be valid users.
Logged in users must be active users.
Username and passwords must be matched to the user.
Upon expiration of tokens, users should be able to renew their passwords,