Account settings: change password and delete account

Aperta
#45 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva

Direzione di ricerca

Start by reading the existing registration flow: it shows how passwords are hashed and how a logged-in session is established, and both new routes should reuse that hashing. Then map the user model's relations to the library, plays and reviews tables so the delete path removes them in one transaction, and check how CSRF tokens are added to existing POST forms. Done means two CSRF-protected POST routes behind a confirmation step: password change that verifies the current password first, and account deletion that re-checks the password, removes the related rows, and ends the session.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

backend frontend help wanted

Add an Account page for logged-in users.

  • Change password: require the current password, then hash the new one the same way registration does
  • Delete account: ask for the password again, then delete the user's library, plays and reviews along with the account
  • Log the user out after deleting
  • CSRF-protected POST routes, and a clear confirmation step before deleting
Lingua principale
CSS
Stelle
1
Fork
1
Merge medio
39m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NotADIM2/GameVault

Tutte le issue di NotADIM2/GameVault

Issue simili

Altre issue su Security

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.