diff options
Diffstat (limited to '')
-rw-r--r-- | src/routes/middleware/saml.ts | 2 | ||||
-rw-r--r-- | yarn.lock | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/middleware/saml.ts b/src/routes/middleware/saml.ts index 86155c5..cce29a2 100644 --- a/src/routes/middleware/saml.ts +++ b/src/routes/middleware/saml.ts @@ -4,7 +4,7 @@ import { Request, Response, NextFunction } from 'express'; const saml = function (req: Request, res: Response, next: NextFunction): void { const authenticator = new BasicAuthenticator(req, res); if (!authenticator.hasSession()) { - authenticator.redirectToLogin(); + res.redirect(authenticator.buildLoginURL()); return; } next(); @@ -3117,7 +3117,7 @@ uid-safe@2.1.5: umn-shib-nodejs@UMN-EE4951W-Lamperski/umn-shib-nodejs#master: version "1.0.0" - resolved "https://codeload.github.com/UMN-EE4951W-Lamperski/umn-shib-nodejs/tar.gz/1c9900f966f649626096e94bd38393f16b0d7435" + resolved "https://codeload.github.com/UMN-EE4951W-Lamperski/umn-shib-nodejs/tar.gz/74dd27881511e676d7f782141fe736fbe5763062" unbox-primitive@^1.0.1: version "1.0.1" |