oops
Some checks failed
Push code / build (push) Waiting to run
Code quality checks / build (23) (push) Has been cancelled

This commit is contained in:
Lara 2024-11-02 22:06:32 +02:00
parent f0038acb61
commit 0912f27668
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B

View file

@ -115,6 +115,8 @@ export function initAuth(router: express.Router) {
"/auth/new-login", "/auth/new-login",
(req: Request, res: Response) => { (req: Request, res: Response) => {
res.cookie("redir", `${env.DASHBOARD_URL}/new/login-callback/`, { httpOnly: true }); res.cookie("redir", `${env.DASHBOARD_URL}/new/login-callback/`, { httpOnly: true });
res.sendStatus(200);
}, },
passport.authenticate("oauth2"), passport.authenticate("oauth2"),
); );