fix(server): decode uri component before verify token (#6231)

This commit is contained in:
liuyi authored and forehalo committed 2024-03-20 18:17:11 +08:00
1 parent 06a5b2e5a5
commit 4f5907766f
1 file changed
+1
@@ -141,6 +141,7 @@ export class AuthController {
}
email = decodeURIComponent(email);
token = decodeURIComponent(token);
validators.assertValidEmail(email);
const valid = await this.token.verifyToken(TokenType.SignIn, token, {