summaryrefslogtreecommitdiff
path: root/lib/openid.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 14:26:47 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 14:26:47 -0400
commit1d867396fa2e4737066a05990b570ea5a2e56d1d (patch)
tree346bfc5da63eef04d8ea6b86e377e15c61d0db36 /lib/openid.php
parent7ce5ed80811cd553940882b5ef5a1f7f235e71f2 (diff)
add xrds for trust root URL
darcs-hash:20080618182647-84dde-e75e2c3441e8441ad6602f36fd9b7bf6ca39e70d.gz
Diffstat (limited to 'lib/openid.php')
-rw-r--r--lib/openid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/openid.php b/lib/openid.php
index c98ff8bfc..48c2a6cb1 100644
--- a/lib/openid.php
+++ b/lib/openid.php
@@ -95,7 +95,7 @@ function oid_authenticate($openid_url, $returnto) {
$auth_request->addExtension($sreg_request);
}
- $trust_root = common_root_url();
+ $trust_root = common_local_url($public);
$process_url = common_local_url($returnto);
if ($auth_request->shouldSendRedirect()) {