summaryrefslogtreecommitdiff
path: root/Authentication/PublicStart
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-12-10 22:27:08 +0100
committerMinteck <contact@minteck.org>2022-12-10 22:27:08 +0100
commit30303a3ad0d0f31d93c25f42bfd10d70e8277b72 (patch)
tree622964e7895c759232aff28230394aa5cc747be9 /Authentication/PublicStart
parentf850a8a53efd719fef6c8784c5af7b89dd9a6a2f (diff)
downloadpluralconnect-30303a3ad0d0f31d93c25f42bfd10d70e8277b72.tar.gz
pluralconnect-30303a3ad0d0f31d93c25f42bfd10d70e8277b72.tar.bz2
pluralconnect-30303a3ad0d0f31d93c25f42bfd10d70e8277b72.zip
Update
Diffstat (limited to 'Authentication/PublicStart')
-rw-r--r--Authentication/PublicStart/index.php6
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