Skip to content

Add change password option to the profile page #1106

Closed

Description

@gopikrishna-20

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

  1. added
    project: learn
    on Nov 1, 2026
  2. transferred this issue fromon Nov 1, 2026
  3. added
    good first issue
    2026-10
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    2026-10good first issueproject: learn

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions