diff options
Diffstat (limited to 'Authentication/PublicStart')
-rw-r--r-- | Authentication/PublicStart/index.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Authentication/PublicStart/index.php b/Authentication/PublicStart/index.php index c0ed9c6..7f6a11b 100644 --- a/Authentication/PublicStart/index.php +++ b/Authentication/PublicStart/index.php @@ -1,7 +1,3 @@ <?php -$channel = "public"; -$server = "auth.equestria.horse"; - -header("Location: https://$server/hub/api/rest/oauth2/auth?client_id=" . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true)[$channel]["id"] . "&response_type=code&redirect_uri=http" . ($_SERVER['HTTPS'] ? "s" : "") . "://" . $_SERVER['HTTP_HOST'] . "/Authentication/PublicCallback&scope=Hub&request_credentials=default&access_type=offline"); -die(); +return;
\ No newline at end of file |