use more server crap, hopefully fix redir loop
All checks were successful
Code quality checks / build (23) (push) Successful in 33s
Push code / build (push) Successful in 53s

This commit is contained in:
Lara 2024-11-03 11:59:26 +02:00
parent 77dd220e48
commit 9f6cb8ba84
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B
4 changed files with 10 additions and 4 deletions

View file

@ -114,7 +114,7 @@ export function initAuth(router: express.Router) {
router.get(
"/auth/new-login",
(req: Request, res: Response, next: NextFunction) => {
res.cookie("redir", `/new/login-callback/`, { httpOnly: true });
res.cookie("redir", `/new/auth/login-callback/`, { httpOnly: true });
next();
},