Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Password can not be changed from the user settings page #1375
bug report #15769
The password it's never updated on user model so it's never saved on database making it impossible to change an users password.
When $newPassword is non empty, it never enters the else part so it doesn't updates the model.
Steps to reproduce this bug:
My opinion :
If password was not updated : add a error / alert, but don't redirect before saving other data.
Then when user save (with a bad password)
Because (for example) if user want to upadte is name at same time than his password : you must save is name …
Maybe : when save with success : put a different string