Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - Prevent Updating Name, Username, Email, and New Password with Empty/Whitespace Values #5543

Open
anirbanpaulcom opened this issue Feb 6, 2024 · 2 comments

Comments

@anirbanpaulcom
Copy link

Description:

Attempting to update the user profile with empty or whitespace values for the "name," "username," "email," or "newPassword" fields results in unexpected behavior. The Save Changes button should be disabled when any of these fields are empty or contain only whitespace.

Environment Information:

Rocket.Chat Server Version: 6.5.0
Rocket.Chat App Version: 4.47.0
Device Name: Redmi note 5 pro
OS Version: Android

Steps to reproduce:

1.Open the user profile.
2.Modify the "name," "username," "email," or "newPassword" fields.
3.Leave the fields empty or enter only whitespace.
4.Attempt to save changes.

Expected behavior:

The Save Changes button should be disabled, and no update should occur when any of the specified fields are empty or contain only whitespace.

Actual behavior:

WhatsApp.Video.2024-02-06.at.9.12.35.PM.mp4

WhatsApp Image 2024-02-06 at 8 40 14 PM

Additional context:

@anirbanpaulcom
Copy link
Author

anirbanpaulcom commented Feb 6, 2024

Fix : #5544

@Himanshu-kiran
Copy link

Hey @diegolmello Can I work on this issue including the changes you mentioned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants