oops
This commit is contained in:
parent
f0038acb61
commit
0912f27668
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ export function initAuth(router: express.Router) {
|
|||
"/auth/new-login",
|
||||
(req: Request, res: Response) => {
|
||||
res.cookie("redir", `${env.DASHBOARD_URL}/new/login-callback/`, { httpOnly: true });
|
||||
|
||||
res.sendStatus(200);
|
||||
},
|
||||
passport.authenticate("oauth2"),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue