From da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 1 Apr 2022 18:00:36 +0200 Subject: Change shib location Signed-off-by: Matt Strapp --- src/routes/middleware/saml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); }; -- cgit v1.2.3