added reset password workflow

This commit is contained in:
Milo Schwartz 2024-10-05 17:01:49 -04:00
parent 838047bb4c
commit 7d66a6ff66
No known key found for this signature in database
12 changed files with 278 additions and 29 deletions

View file

@ -98,6 +98,8 @@ export async function changePassword(
await lucia.invalidateUserSessions(user.id);
// TODO: send email to user confirming password change
return response(res, {
data: null,
success: true,