aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/routes/middleware/saml.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/middleware/saml.ts b/src/routes/middleware/saml.ts
index ad9d50d..86155c5 100644
--- a/src/routes/middleware/saml.ts
+++ b/src/routes/middleware/saml.ts
@@ -5,7 +5,7 @@ const saml = function (req: Request, res: Response, next: NextFunction): void {
const authenticator = new BasicAuthenticator(req, res);
if (!authenticator.hasSession()) {
authenticator.redirectToLogin();
- next();
+ return;
}
next();
};