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:
parent
89abd2ec12
commit
99cc009670
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user