TheOdinProject / theodinproject

Main Website for The Odin Project
http://www.theodinproject.com
MIT License
3.55k stars 2.06k forks source link

Send password reset emails to admin team members #4588

Closed KevinMulhern closed 2 days ago

KevinMulhern commented 3 days ago

When an Admin team member forgets their password, I want to be able to send them a password reset email, so they can regain access to their account.

Acceptance criteria

  1. Log into admin v2 - admin@odin.com, password123
  2. Invite a new team member
  3. Accept the invite and log into the new team members account in an incognito window
  4. Back on first admin account, click the ellipsis menu on the new team member
  5. Click the "Send password reset email" option
  6. Open the password reset link in another incognito window
  7. Choose a new password
  8. You should be logged in and redirected to the admin v2 dashboard

Notes

We want the password reset email generation to be locked behind admin v2 instead of publicly available. Thats why another admin needs to trigger it.