]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
change trust root calculation
authorEvan Prodromou <evan@controlyourself.ca>
Sat, 7 Mar 2009 19:36:10 +0000 (11:36 -0800)
committerEvan Prodromou <evan@controlyourself.ca>
Sat, 7 Mar 2009 19:36:10 +0000 (11:36 -0800)
lib/openid.php

index 5c3d460dafdb7c2e7814663953f54eb7c5788f8f..3aa488b6d422df9f7d5240da0a9d016fdecdbf91 100644 (file)
@@ -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()) {