Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Require current password when changing your own password

Aperta
#393 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
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start at the update_account handler, which accepts a new password without checking the current one, and read the review thread of #378 for the earlier discussion. Add a current-password field to the Edit Account page and verify it on the backend whenever password is submitted. Done means a wrong or missing current password is rejected, and Google-login accounts either skip the check or cannot change a password, with a test covering each case. Confirm the Google-login choice with a maintainer before writing the code.

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

Descrizione

update_account lets a logged-in user set a new password without entering the current one, so anyone with access to a logged-in session can take over the account. Fix: add a current-password field on the Edit Account page and check it on the backend when password is sent. Google-login accounts have no password, so they need their own handling (either skip the check or don't offer password changes). This was already the case before #378 and was raised in its review.

Lingua principale
Python
Stelle
13
Fork
0
Merge medio
2h 4m
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 kiat/codeAssist

Tutte le issue di kiat/codeAssist

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.