leaderboardsgg / leaderboard-site

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

Feature Request: After account creation, a user's nominated email address needs to be confirmed. #564

Closed erunks closed 7 months ago

erunks commented 1 year ago

What are you wanting to be added?

Goal: Verify your account

Objectives:

After receiving an email, with a link to /confirm-account?code={code}, during navigation to that page the following should happen:

What might break?

Routing? In order to confirm or reject the confirmation 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