jp769 / IT202009

0 stars 0 forks source link

User will be able to login to their account (given they enter the correct credentials) #2

Open jp769 opened 4 years ago

jp769 commented 4 years ago

User can login with email or username User should see friendly error messages when an account either doesn’t exist or if passwords don’t match Logging in should fetch the user’s details (and roles) and save them into the session. Form should have proper validation Make sure data has been entered in both fields User will be directed to a dashboard page upon login This is a protected page (non-logged in users shouldn’t have access)

jp769 commented 4 years ago

https://github.com/jp769/IT202009/commit/c8c329584c916ca97338e9f2d969e897b04cdfa0#diff-5ce08698f5529445c3b2f0cd5b3d4d36cd9093658c06ba1f602cced49fb1eb50 https://github.com/jp769/IT202009/commit/298671f28da7b808b21d5aaf35a7ee8e3d9ce282#diff-6c6dcb6442fbbee97d61d150d1031ba2b4cfd5cffe75d99a2f7ac214eb47ab27