]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix trust root in openid to use 'public' string
authorEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 18:28:12 +0000 (14:28 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 18:28:12 +0000 (14:28 -0400)
darcs-hash:20080618182812-84dde-62e5442eb8f051e29f9a7b5134a7ba5a09cfe3a0.gz

lib/openid.php

index 48c2a6cb1a64e6b72faa03b38b4a73174d5bff10..deaf8632162dda5a8b9662b968b6561466abb770 100644 (file)
@@ -95,7 +95,7 @@ function oid_authenticate($openid_url, $returnto) {
                $auth_request->addExtension($sreg_request);
        }
        
-       $trust_root = common_local_url($public);
+       $trust_root = common_local_url('public');
        $process_url = common_local_url($returnto);
        
        if ($auth_request->shouldSendRedirect()) {