Skip to content

Commit

Permalink
Improve NameIdFormat support
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed Mar 13, 2017
1 parent 13381fd commit fbbe357
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Saml2/Auth.php
Expand Up @@ -462,6 +462,9 @@ public function logout($returnTo = null, $parameters = array(), $nameId = null,
if (empty($nameId) && !empty($this->_nameid)) {
$nameId = $this->_nameid;
}
if (empty($nameIdFormat) && !empty($this->_nameidFormat)) {
$nameIdFormat = $this->_nameidFormat;
}

$logoutRequest = new OneLogin_Saml2_LogoutRequest($this->_settings, null, $nameId, $sessionIndex, $nameIdFormat);

Expand Down

0 comments on commit fbbe357

Please sign in to comment.