Fixing JWT verify

This commit is contained in:
David Négrier 2020-10-15 16:54:04 +02:00
parent a348001036
commit 4f54c3cd86

View File

@ -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,