change trust root calculation

This commit is contained in:
Evan Prodromou 2009-03-07 11:36:10 -08:00
parent bffd931c37
commit 1980f166a7

View File

@ -160,7 +160,7 @@ function oid_authenticate($openid_url, $returnto, $immediate=false)
$auth_request->addExtension($sreg_request); $auth_request->addExtension($sreg_request);
} }
$trust_root = common_local_url('public'); $trust_root = common_path('');
$process_url = common_local_url($returnto); $process_url = common_local_url($returnto);
if ($auth_request->shouldSendRedirect()) { if ($auth_request->shouldSendRedirect()) {