mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
6dc000e247
closes https://github.com/TryGhost/Product/issues/3604 - The change password button in the user settings wasn't updating correctly. - the saveNewPasswordTask() wasn't returning anything, causing ` this.get('task.last.value')` to return undefined in the `isSuccess` method. - This fix ensures that there is a value attached to the `task.last.value` so that the condition for a successful save checks out. --- <!-- Leave the line below if you'd like GitHub Copilot to generate a summary from your commit --> <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at a6a76eb</samp> Improved error handling and feedback for changing user passwords in the settings UI. Modified `saveNewPasswordTask` function in `ghost/admin/app/controllers/settings/staff/user.js` to catch and display errors and return user object. |
||
---|---|---|
.. | ||
announcement-bar | ||
design | ||
integration/webhooks | ||
integrations | ||
labs | ||
staff | ||
analytics.js | ||
code-injection.js | ||
design.js | ||
general.js | ||
history.js | ||
integration.js | ||
integrations.js | ||
labs.js | ||
membership.js | ||
navigation.js | ||
newsletters.js | ||
tier.js | ||
tiers.js |