From 50bf2eba2e69258693b9c3bd63208488ba756eda Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 9 Nov 2010 08:26:16 +0000
Subject: [PATCH] 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
---
 modules/openid/lib/Auth/Source/OpenIDConsumer.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/openid/lib/Auth/Source/OpenIDConsumer.php b/modules/openid/lib/Auth/Source/OpenIDConsumer.php
index 22d30e6e7..da8fd184c 100644
--- a/modules/openid/lib/Auth/Source/OpenIDConsumer.php
+++ b/modules/openid/lib/Auth/Source/OpenIDConsumer.php
@@ -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);
-- 
GitLab