Skip to content

Commit

Permalink
fix bug with setUpSaml (have it set up iff SSO_DISABLED is false)
Browse files Browse the repository at this point in the history
  • Loading branch information
melodie-bah committed May 1, 2023
1 parent 7c9a5a9 commit 246aaa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ const SSORedirect = (req, res) => {

const setupSaml = (app) => {

if (SSO_DISABLED) {
if (!SSO_DISABLED) {
passport.serializeUser((user, done) => {
done(null, user);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dod-advana/advana-api-auth",
"version": "2.2.7",
"version": "2.2.8",
"description": "contains middleware shared authentication code",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 246aaa6

Please sign in to comment.