Skip to content

Commit

Permalink
Fix deprecation warning (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
plessbd authored Dec 20, 2018
1 parent d7b5895 commit d290456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/Authentication/SAML/XDSamlAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ public function __construct()
$authSource = null;
}
if (!is_null($authSource) && array_search($authSource, $this->_sources) !== false) {
$this->_as = new \SimpleSAML_Auth_Simple($authSource);
$this->_as = new \SimpleSAML\Auth\Simple($authSource);
} else {
$this->_as = new \SimpleSAML_Auth_Simple($this->_sources[0]);
$this->_as = new \SimpleSAML\Auth\Simple($this->_sources[0]);
}
}
}
Expand Down

0 comments on commit d290456

Please sign in to comment.