Account settings: change password and delete account

Abierto
#45 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
CSS
Estrellas
1
Forks
1
Merge medio
39 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NotADIM2/GameVault

Todos los issues de NotADIM2/GameVault

Issues similares

Más issues de Security

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.