X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fopenid.php;h=613cd222f605e962301492f73f4a8d033fb9c7a7;hb=de4a2e6fd03cd0aab94a256eba92ed593931534b;hp=60de55a5098af3e9700d2b7a4a051d6ba5fd081a;hpb=05dcedb54c8c8f2b48e47fa11cb6dd4586bdd9bb;p=friendica.git diff --git a/mod/openid.php b/mod/openid.php index 60de55a509..613cd222f6 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -1,14 +1,17 @@ config['register_policy'] == REGISTER_CLOSED) { notice( t('Account not found and OpenID registration is not permitted on this site.') . EOL); - goaway(z_root()); + goaway(System::baseUrl()); } unset($_SESSION['register']); @@ -102,12 +106,12 @@ function openid_content(App $a) { $args .= '&openid_url=' . urlencode(notags(trim($authid))); - goaway(App::get_baseurl() . '/register?' . $args); + goaway(System::baseUrl() . '/register?' . $args); // NOTREACHED } } notice( t('Login failed.') . EOL); - goaway(z_root()); + goaway(System::baseUrl()); // NOTREACHED }