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 | |
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>
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/routes/middleware/saml.ts | 2 | ||||
-rw-r--r-- | yarn.lock | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/package.json b/package.json index 7862e3e..c7f3f92 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "passport": "^0.5.2", "passport-saml": "3.2.1", "shell-quote": "1.7.3", - "umn-shib-nodejs": "RosstheRoss/umn-shib-nodejs#master" + "umn-shib-nodejs": "UMN-EE4951W-Lamperski/umn-shib-nodejs#master" }, "devDependencies": { "@types/cookie-parser": "1.4.2", 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(); }; @@ -3115,9 +3115,9 @@ uid-safe@2.1.5: dependencies: random-bytes "~1.0.0" -umn-shib-nodejs@RosstheRoss/umn-shib-nodejs#master: +umn-shib-nodejs@UMN-EE4951W-Lamperski/umn-shib-nodejs#master: version "1.0.0" - resolved "https://codeload.github.com/RosstheRoss/umn-shib-nodejs/tar.gz/1c9900f966f649626096e94bd38393f16b0d7435" + resolved "https://codeload.github.com/UMN-EE4951W-Lamperski/umn-shib-nodejs/tar.gz/1c9900f966f649626096e94bd38393f16b0d7435" unbox-primitive@^1.0.1: version "1.0.1" |