Browse Source

Fix remaining delegate/identity issues. Fixes issue #2.

tags/0.6
Chris Smith 15 years ago
parent
commit
8cdd52c1bb
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      discoverer.inc.php

+ 2
- 1
discoverer.inc.php View File

@@ -352,7 +352,8 @@ class Discoverer {
352 352
    $this->servers[] = new Server($this->server, 2);
353 353
 
354 354
    if (isset($links['openid.delegate'])) {
355
-    $this->claimedId = $links['openid.claimedId'];
355
+    $this->claimedId = $this->identity;
356
+    $this->identity = $links['openid.delegate'];
356 357
    }
357 358
    Logger::log('OpenID EP found. Server: %s, identity: %s, claimed id: %s', $this->server, $this->identity, $this->claimedId);
358 359
   }

Loading…
Cancel
Save