stack/packages
Zai Shi 5a3d248ae0
Fix update password (#554)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Adds `updatePassword` method to `StackServerInterface` and updates
`_StackServerAppImplIncomplete` to use it for password updates.
> 
>   - **Behavior**:
> - Adds `updatePassword` method to `StackServerInterface` in
`serverInterface.ts` to update user passwords via POST to
`/auth/password/update`.
> - Handles `PasswordConfirmationMismatch` and
`PasswordRequirementsNotMet` errors.
>   - **Implementation**:
> - Updates `updatePassword` method in `_StackServerAppImplIncomplete`
in `server-app-impl.ts` to use `StackServerInterface.updatePassword`.
>     - Requires `oldPassword` in `updatePassword` options.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for 5dd07df3ee. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
2025-03-18 18:05:10 +01:00
..
init-stack fix: --no-browser opening browser (#539) 2025-03-13 17:17:28 +01:00
js chore: update package versions 2025-03-12 19:03:12 -07:00
react chore: update package versions 2025-03-12 19:03:12 -07:00
stack chore: update package versions 2025-03-12 19:03:12 -07:00
stack-emails chore: update package versions 2025-03-12 19:03:12 -07:00
stack-sc chore: update package versions 2025-03-12 19:03:12 -07:00
stack-shared Fix update password (#554) 2025-03-18 18:05:10 +01:00
stack-ui chore: update package versions 2025-03-12 19:03:12 -07:00
template Fix update password (#554) 2025-03-18 18:05:10 +01:00