Skip to content
Snippets Groups Projects
Commit 50bf2eba authored by Olav Morken's avatar Olav Morken
Browse files

openid: Replace openid.claimed_id with openid.local_id.

The openid.claimed_id attribute is already available as 'openid'.
Replace it with the openid.local_id attribute instead.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2624 44740490-163a-0410-bde0-09ae8108e29a
parent 00d3f0a8
No related branches found
No related tags found
No related merge requests found
......@@ -247,8 +247,8 @@ class sspmod_openid_Auth_Source_OpenIDConsumer extends SimpleSAML_Auth_Source {
$attributes['openid.canonicalID'] = array($response->endpoint->canonicalID);
}
if ($response->endpoint->claimed_id) {
$attributes['openid.claimed_id'] = array($response->endpoint->claimed_id);
if ($response->endpoint->local_id) {
$attributes['openid.local_id'] = array($response->endpoint->local_id);
}
$sreg_resp = Auth_OpenID_SRegResponse::fromSuccessResponse($response, $this->validateSReg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment