Skip to content
Snippets Groups Projects

Test all the things!

Merged Andrew Hoffmann requested to merge ahoffmann/uw-php-security:preauth-test into master
2 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -27,8 +27,8 @@ class FederatedPreauthUserDetailsProvider extends UserDetailsProvider
public function loadUser()
{
// Return null if no Shib session is found
if ($this->httpHeaders && !getenv(static::SHIB_SESSION_ID_HTTP) ||
!$this->httpHeaders && !getenv(static::SHIB_SESSION_ID)) {
if (($this->httpHeaders && !getenv(static::SHIB_SESSION_ID_HTTP)) ||
(!$this->httpHeaders && !getenv(static::SHIB_SESSION_ID))) {
return null;
}
Loading