Skip to content

Commit

Permalink
Fix problem with recent PR granting level 1 access to all users, whet…
Browse files Browse the repository at this point in the history
…her or not $auth['saml']['user'] is set. See GitHub PR #3560.
  • Loading branch information
campbell-m committed Nov 13, 2023
1 parent 914feaa commit 77844a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/lib/MRBS/Auth/AuthSaml.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,7 @@ private function getLevel(string $username) : int
}
}
}
}
else
{
return 1;
return 0;
}

return 1;
Expand Down

0 comments on commit 77844a1

Please sign in to comment.