Skip to content

[BUG]: "Confirm Password" field not cleared after changing password #426

@amadeo-alex

Description

@amadeo-alex

Describe the bug

Hello, first, thank you for the app and the work you've put into it :)
The bug report is regarding the "Confirm Password" (domid: confirm-password) field not being cleared after password is changed, and in result, being viewable by "anyone".

Not a RCE kind of level issue but still :D

I wanted to provide some educated context but one, I'm really terrible with frontend code, two, from a quick glance I took it looks like the field should be cleared

so it's either fault of my setup or my lacking frontend knowledge.

Let me know if there is anything I can do to help test/investigate.

Steps to Reproduce

  1. Click on profile
  2. Navigate to "Settings dashboard"
  3. Fill in "Current Password", "New Password" and "Confirm Password"
  4. Click on "Save Profile"

What should happen: all three fields should be cleared
What happens: "Current Password" and "New Password" is cleared but "Confirm Password" stays filled in and can be viewed with the "eye"

Before clicking "Save Profile":

Image

After clicking "Save Profile" and viewing the hidden text:

Image

How do you run Jotty?

Docker

Jotty Version

1.20.0

Checklist

  • I have searched across other issues to make sure this bug has not been already reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions