use more server crap, hopefully fix redir loop
This commit is contained in:
parent
77dd220e48
commit
9f6cb8ba84
4 changed files with 10 additions and 4 deletions
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue