mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-02 09:05:49 +02:00
added reset password workflow
This commit is contained in:
parent
838047bb4c
commit
7d66a6ff66
12 changed files with 278 additions and 29 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue