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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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({