summaryrefslogtreecommitdiff
path: root/lib/openid.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-03-07 11:36:10 -0800
committerEvan Prodromou <evan@controlyourself.ca>2009-03-07 11:36:10 -0800
commit1980f166a78954b15ed53e1421164452ec692497 (patch)
treed92725cf1108a23ec4ef3f8083c3c883c602aab8 /lib/openid.php
parentbffd931c37618c8623eb2465150ee8d9d85b7184 (diff)
change trust root calculation
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 5c3d460da..3aa488b6d 100644
--- a/lib/openid.php
+++ b/lib/openid.php
@@ -160,7 +160,7 @@ function oid_authenticate($openid_url, $returnto, $immediate=false)
$auth_request->addExtension($sreg_request);
}
- $trust_root = common_local_url('public');
+ $trust_root = common_path('');
$process_url = common_local_url($returnto);
if ($auth_request->shouldSendRedirect()) {