stack/packages/template/src
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
..
components Hide Last Used (#547) 2025-03-15 02:36:04 +01:00
components-page don't show password option if not enabled (#555) 2025-03-18 10:02:01 -07:00
generated Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
lib Fix update password (#554) 2025-03-18 18:05:10 +01:00
providers React SDK (#462) 2025-02-27 01:55:45 +01:00
utils Permit signUpWithCredential in non-browser environments 2025-02-27 15:29:03 -08:00
global.css Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
global.d.ts Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
index.ts React SDK (#462) 2025-02-27 01:55:45 +01:00