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
Our PHP logic should be handled here.
We should create a new password, and then mail that password out to the user but only set the password if the user, uses it to login. This will require a new field in the database, one to store the old password and one to store the new password.
A little hint/some advice on how to do this
Create a new page that is targeted towards the first time a user logs in with a new password.
Create a new bit of logic in auth that is focused on that page, in that it should check the new column in the database, and if it matches set the password.
You'll want to use ajax to submit the request, php to send the email, set the temporary password, and confirm the new one.
Remember to add all views to /assets/views/
And your primary file (since we don't have a router right now) to the webroot
Need to choose something to handle SMTP request, such as sendgrid or mailchimp. Also need a forgot password function.
The text was updated successfully, but these errors were encountered: