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:
MathMan05
2025-04-03 12:52:11 -05:00
committed by GitHub
parent 89abd2ec12
commit 99cc009670
+1 -1
View File
@@ -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({