소스 검색

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
   }

Loading…
취소
저장