RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
39.9k stars 10.28k forks source link

Change Password Validation Bug #32740

Open rahulrana701 opened 1 month ago

rahulrana701 commented 1 month ago

Description:

Currently, users can only check if they have entered the confirmation password correctly when they submit the form while attempting to change their password. This should not be the case.

https://github.com/RocketChat/Rocket.Chat/assets/123585591/487a08c0-83f5-4857-9eef-a775a0d543a2

Steps to reproduce:

  1. Go to 'Security Section in Profile'
  2. Click on 'Password

Expected behavior:

The desired behavior should be that a warning should appear while writing in the confirm password input if it does not match the new password, rather than only discovering this after submitting the form.

Actual behavior:

https://github.com/RocketChat/Rocket.Chat/assets/123585591/b4f46a2d-4666-489c-a781-fd8b6c6b4657

Server Setup Information:

Client Setup Information

Additional context

Relevant logs:

Ranjeet0062 commented 1 month ago

i am working on it please asign it to me

rahulrana701 commented 1 month ago

@Ranjeet0062, I had already submitted the PR. I'm unsure why you submitted a duplicate, as this floods the PR section and makes the work of maintainers more challenging, and you exactly copied my code dude