refactor: convert password change to Server Action

- Add src/app/actions/password.ts with changePassword
- Update ChangePasswordForm to use Server Action
- Remove api/user/password route (entire file)
This commit is contained in:
2026-02-28 10:59:00 +01:00
parent 0548215096
commit b815202529
4 changed files with 38 additions and 60 deletions

View File

@@ -13,6 +13,7 @@
| `PUT /api/preferences` | `updatePreferences()` | ✅ Done |
| `POST /api/komga/libraries/[libraryId]/scan` | `scanLibrary()` | ✅ Done |
| `POST /api/komga/config` | `saveKomgaConfig()` | ✅ Done |
| `PUT /api/user/password` | `changePassword()` | ✅ Done |
---