|
@@ -344,13 +344,8 @@ class Discoverer {
|
344
|
344
|
$this->endpointUrl = $links['openid2.provider'];
|
345
|
345
|
//$this->servers[] = new Server($this->server, 2);
|
346
|
346
|
|
347
|
|
- if (isset($links['openid2.local_id'])) {
|
348
|
|
- $this->claimedId = $this->userSuppliedId;
|
349
|
|
- $this->opLocalId = $links['openid2.local_id'];
|
350
|
|
- } else {
|
351
|
|
- $this->claimedId = self::ID_SELECT_URL;
|
352
|
|
- $this->opLocalId = self::ID_SELECT_URL;
|
353
|
|
- }
|
|
347
|
+ $this->claimedId = $this->userSuppliedId;
|
|
348
|
+ $this->opLocalId = isset($links['openid2.local_id']) ? $links['openid2.local_id'] : $this->claimedId;
|
354
|
349
|
|
355
|
350
|
Logger::log('OpenID EP found. End point: %s, claimed id: %s, op local id: %s', $this->endpointUrl, $this->claimedId, $this->opLocalId);
|
356
|
351
|
} else if (isset($links['openid.server'])) {
|