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;
|
let user;
|
||||||
try {
|
try {
|
||||||
const userTokenData = await checkToken(token);
|
const userTokenData = await checkToken(tokenconst, {select : ["email"]});
|
||||||
user = userTokenData.user;
|
user = userTokenData.user;
|
||||||
} catch {
|
} catch {
|
||||||
throw FieldErrors({
|
throw FieldErrors({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user