leaderboardsgg / leaderboard-site

Frontend of Leaderboards.gg
https://leaderboards.gg/
GNU General Public License v3.0
55 stars 20 forks source link

Feature Request: A user must be able to recover their password if they have forgotten it. #565

Closed erunks closed 4 months ago

erunks commented 1 year ago

What are you wanting to be added?

Goal: Password recovery

It's inevitable. No matter what happens someone will forget their password, and we need to be able to support them setting a new one.

Objectives:

After receiving an email, with a link to /reset-password?code={code}.

During navigation:

After navigation:

What might break?

Routing? In order to validate the reset code during navigation, this would seemingly be best to be done in a custom middleware. This bit is new to me, so I would highly recommend reading the docs on how this should be setup: https://nuxt.com/docs/guide/directory-structure/middleware

Relevant Issues

Parent Issue: https://github.com/leaderboardsgg/leaderboard-site/issues/556 Backend Issue: https://github.com/leaderboardsgg/leaderboard-backend/issues/144

erunks commented 1 year ago

This is currently blocked while we wait on the backend side of things: https://github.com/leaderboardsgg/leaderboard-backend/issues/144