give the correct root url when SSL enabled

This commit is contained in:
Evan Prodromou
2009-03-31 10:09:11 -04:00
parent e149f3d64b
commit 1fbf9a042e
2 changed files with 3 additions and 3 deletions

View File

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