From 6bbcfd011e728808b09c46fcc615afa6fad60502 Mon Sep 17 00:00:00 2001 From: laraproto Date: Sat, 2 Nov 2024 22:06:46 +0200 Subject: [PATCH] oops again --- backend/src/api/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/auth.ts b/backend/src/api/auth.ts index 86fcfc4b..a6a18ddf 100644 --- a/backend/src/api/auth.ts +++ b/backend/src/api/auth.ts @@ -116,7 +116,7 @@ export function initAuth(router: express.Router) { (req: Request, res: Response) => { res.cookie("redir", `${env.DASHBOARD_URL}/new/login-callback/`, { httpOnly: true }); - res.sendStatus(200); + return res.sendStatus(200); }, passport.authenticate("oauth2"), );