mirror of
https://github.com/spacebarchat/server.git
synced 2026-07-28 11:59:24 +00:00
fix password reset bug
Not sure if this'll work, but made a pull so y'all could see the issue
This commit is contained in:
@@ -49,7 +49,7 @@ router.post(
|
||||
|
||||
let user;
|
||||
try {
|
||||
const userTokenData = await checkToken(token);
|
||||
const userTokenData = await checkToken(tokenconst, {select : ["email"]});
|
||||
user = userTokenData.user;
|
||||
} catch {
|
||||
throw FieldErrors({
|
||||
|
||||
Reference in New Issue
Block a user