ソースを参照

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

tags/0.6
Chris Smith 15年前
コミット
8cdd52c1bb
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      discoverer.inc.php

+ 2
- 1
discoverer.inc.php ファイルの表示

@@ -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
   }

読み込み中…
キャンセル
保存