mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-27 15:26:41 +00:00
added reset password workflow
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user