X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fopenid.php;h=45b80638d5e3723ea306c8ed09cf1df112a85dd6;hb=b8a76794e06f270b591bdc851c03ce3a6f4764ba;hp=60de55a5098af3e9700d2b7a4a051d6ba5fd081a;hpb=bc2dd690fdc6b941e6156858866c74c0f0672a3e;p=friendica.git diff --git a/mod/openid.php b/mod/openid.php index 60de55a509..45b80638d5 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 +105,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 }