From 4f54c3cd867664cc7cb00a1a84edfd4322772f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Thu, 15 Oct 2020 16:54:04 +0200 Subject: [PATCH] Fixing JWT verify --- back/src/Controller/AuthenticateController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/src/Controller/AuthenticateController.ts b/back/src/Controller/AuthenticateController.ts index c298c684..9cfffab5 100644 --- a/back/src/Controller/AuthenticateController.ts +++ b/back/src/Controller/AuthenticateController.ts @@ -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,