You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add change password option to the profile page #1106
Logged-in users currently have no way to change their password from the profile page. The only option is the "Forgot password" email flow, which doesn't work well for someone who is already signed in and knows their current password.
Proposed solution
Add a "Change Password" button to public/profile.html, above the Delete Account section. It opens a form with:
Current password
New password (at least 8 characters, same rule as registration and password reset)
Confirm new password
Behavior:
A wrong current password shows an error and doesn't change anything.
The new password must be at least 8 characters, match the confirmation, and differ from the current one.
On success, the password is updated and the user gets a confirmation message.
Backend
A new authenticated endpoint, POST /api/profile/password, in src/worker.py. It verifies the current password before updating the hash, and reuses the existing auth rate limiter to prevent brute-forcing the current password.
Activity