-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
fix: issue-10372 The value of the display_name field reset #10374
base: develop
Are you sure you want to change the base?
fix: issue-10372 The value of the display_name field reset #10374
Conversation
@Alex808r Thanks for the PR. This seems like a hacky fix. The best solution would be to move change_password to a different endpoint so that it only does password change and doesn't update the user data. Let me know if you would be able to make the change. |
it would be interesting for me to deal with this problem. Could you describe in more detail exactly what it should look like. app/javascript/dashboard/api/auth.js
I have another quick solution in in this case, you will not need a new endpoint and will not have to create a new method
But if you think the right solution is a new endpoint, I can do it. |
0d5a2cd
to
044a494
Compare
044a494
to
a8f6f89
Compare
@Alex808r Thanks for the input. Removing the line Returning after the password update, as you suggested, is an option, but it could lead to more confusion. We’d then have to explain why profile updates didn’t apply due to the presence of a password parameter. To keep things straightforward, a separate endpoint for password updates would be more readable and manageable. I will review and test the PR. Thanks for the changes. |
🐢 Turtley slow progress alert! This pull request has been idle for over 30 days. Can we please speed things up and either merge it or release it back into the wild? |
Pull Request Template
Description
When changing the password through the user profile menu, the display_name field is not reset.
Fixes # 10372