oops again
This commit is contained in:
parent
0912f27668
commit
6bbcfd011e
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ export function initAuth(router: express.Router) {
|
||||||
(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);
|
return res.sendStatus(200);
|
||||||
},
|
},
|
||||||
passport.authenticate("oauth2"),
|
passport.authenticate("oauth2"),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue