diff options
Diffstat (limited to 'src/routes/middleware')
-rw-r--r-- | src/routes/middleware/saml.ts | 2 |
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(); }; |