mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
feat: 🎸 returen missing vars for oauth
This commit is contained in:
@@ -31,7 +31,7 @@ function checkAuth(req: Request, res: Response, next: NextFunction) {
|
||||
res.redirect('/login');
|
||||
});
|
||||
return;
|
||||
} else if (openID.isOpenIDEnabled()) {
|
||||
} else if (currentSsoStatus) {
|
||||
if (req.oidc?.isAuthenticated() && req.session.loggedIn) {
|
||||
next();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user