Просмотр исходного кода

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

tags/0.6
Chris Smith 15 лет назад
Родитель
Сommit
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
   }

Загрузка…
Отмена
Сохранить