Fixing JWT verify
This commit is contained in:
parent
a348001036
commit
4f54c3cd86
@ -88,7 +88,7 @@ export class AuthenticateController extends BaseController {
|
||||
})
|
||||
|
||||
try {
|
||||
await jwtTokenManager.createJWTToken(query.token as string);
|
||||
await jwtTokenManager.getUserUuidFromToken(query.token as string);
|
||||
} catch (e) {
|
||||
res.writeStatus("400 Bad Request").end(JSON.stringify({
|
||||
"success": false,
|
||||
|
Loading…
Reference in New Issue
Block a user