aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-04-01 18:00:36 +0200
committerMatt Strapp <matt@mattstrapp.net>2022-04-01 18:05:51 +0200
commitda2a4affc66ba396c907bbfa89c2ce3c2e3c39f3 (patch)
treef87f81fc8064a29e937e78dec384570411acd22e /src/routes
parentAttempt to add basic SAML (diff)
downloadee4511w-web-da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3.tar
ee4511w-web-da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3.tar.gz
ee4511w-web-da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3.tar.bz2
ee4511w-web-da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3.tar.lz
ee4511w-web-da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3.tar.xz
ee4511w-web-da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3.tar.zst
ee4511w-web-da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3.zip
Change shib location
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
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();
};