Implement lost password retrieval for users

Implement lost password retrieval for users.

  • Display of the password recovery form with email input field.
  • Verify that email exists in the database and send a reset link to the user.
  • The reset link will contain a token that is stored in the password_resets table and it will be invalidated after a complete password reset.
  • Show password reset form when a valid link is visited and update the user password fields when the form is submitted.
  • Add phpunit tests for password retrieval controllers.
Edited by Stephen Jude