-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
QA-Regression: User is not able to change the account password. #19604
Comments
Having the same issue Rocket.Chat 3.8.0, deployed via Docker on Ubuntu 20.04. Occurs both on Web Interface and Desktop Client.
EDIT: "Allow Profile Change" needs to be enabled to allow password change, and overrides "Allow Password Change" setting below. May want to change either behavior or UI such that it either disables the ability to change other settings, or does not override other settings. |
Same Problem :( |
@valcryst @Ishrat-Manzoor @MJPGPleasant ,me too i had encounter with that problem , this is caused by saveUserProfile method that is exist in Rocket.Chat/programs/server/app/app.js file or Rocket.Chat/server/methods/saveUserProfile.js, and specifically in part of code that is responsible of setting a new email or a new password : and with i debugged some value of attributes a settings object is found that settings.typedPassword is undefined 01 - console.debug("RocketChat debugging : typedPassword : "+settings.typedPassword); 02 - the result in the console will be : RocketChat debugging : typedPassword : undefined |
Regarding to issue in updating profile details in AccountProfilePage (password, email) already declared by some users such us : #19604 , #6226 , #10730 To resolve the issue saveuserprofile error: invalid password I suggest this solution :
and add the following dependencies H, I, R to the last method like this [G, J, K, z, V, we, re, ie, _e, ue, he, me, P, ke, ye, S, b, ve, ge, O, Ce, Ae, pe, H, I, R])
and add the following dependencies closeModal,localPassword,setModal to the last method like this Modified files :
|
Not sure if the code above achieves this, but I would suggest that that "Allow Profile Change", when set to disabled, should NOT override other options such as "Allow Password Change", "Allow Avatar Change", etc. This allows for lockdown of Bio, Nicknames, Custom Properties, without disabling other items (Password being the most critical) Setting "Allow profile change" should also grey out controls in the same way as "Disable Name Change" and similar does. |
Same problem Rocket.Chat 3.9.4
|
same issue on 3.9.1 |
same issue on 3.9.0 |
Same issue on 3.10.3 |
same issue on 3.10.0 |
Same issue on 3.10.4. The error is displayed when we update other data of our profile like status and surname, but data is saved. When we update a custom field, the error is displayed but the data is not saved. |
Same issue on 3.9.3 (snap is tracking 3.x/stable)
|
Changing your own e-mail address does not work either, tested on 3.9.3. |
Description:
User is not able to change the account password.
Steps to reproduce:
Issue: Invalid password error is displayed and user is not able to change the password."
Expected behavior:
Password should be changed successfully.
Actual behavior:
Error is displayed and password is not changed.
![image](https://user-images.githubusercontent.com/24873115/99642837-d06b6d80-2a00-11eb-83a0-db55c9c18400.png)
Server Setup Information:
Client Setup Information
Additional context
Relevant logs:
The text was updated successfully, but these errors were encountered: