diff options
author | Matt Strapp <matt@mattstrapp.net> | 2022-04-01 18:00:36 +0200 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2022-04-01 18:05:51 +0200 |
commit | da2a4affc66ba396c907bbfa89c2ce3c2e3c39f3 (patch) | |
tree | f87f81fc8064a29e937e78dec384570411acd22e /src | |
parent | Attempt to add basic SAML (diff) | |
download | ee4511w-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 'src')
-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(); }; |