aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/users')
-rw-r--r--server/controllers/api/users/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/users/index.ts b/server/controllers/api/users/index.ts
index 5ae0dc7a7..5b113feac 100644
--- a/server/controllers/api/users/index.ts
+++ b/server/controllers/api/users/index.ts
@@ -356,6 +356,7 @@ async function resetUserPassword (req: express.Request, res: express.Response) {
356 user.password = req.body.password 356 user.password = req.body.password
357 357
358 await user.save() 358 await user.save()
359 await Redis.Instance.removePasswordVerificationString(user.id)
359 360
360 return res.status(204).end() 361 return res.status(204).end()
361} 362}