summaryrefslogtreecommitdiff
path: root/Authentication/Callback
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-07-11 18:54:47 +0200
committerMinteck <contact@minteck.org>2022-07-11 18:54:47 +0200
commitf70cf5893bb775625e79ed959721ede03e34a108 (patch)
treeb43b6c392d580304fb47777d240f529e92ea17b0 /Authentication/Callback
parent2629b95c437cce1d331d8f4ab3a0d1ff394930a7 (diff)
downloadbits-server-mane.tar.gz
bits-server-mane.tar.bz2
bits-server-mane.zip
UpdateHEADmane
Diffstat (limited to 'Authentication/Callback')
-rw-r--r--Authentication/Callback/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Authentication/Callback/index.php b/Authentication/Callback/index.php
index 0dad35d..9fa8ad4 100644
--- a/Authentication/Callback/index.php
+++ b/Authentication/Callback/index.php
@@ -9,7 +9,7 @@ if (!isset($_GET['code'])) {
$appdata = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/Private/Application.json"), true);
-$crl = curl_init('https://account.minteck.org/hub/api/rest/oauth2/token');
+$crl = curl_init('https://privateauth.equestria.dev/hub/api/rest/oauth2/token');
curl_setopt($crl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($crl, CURLINFO_HEADER_OUT, true);
curl_setopt($crl, CURLOPT_POST, true);
@@ -26,7 +26,7 @@ $result = json_decode($result, true);
curl_close($crl);
if (isset($result["access_token"])) {
- $crl = curl_init('https://account.minteck.org/hub/api/rest/users/me');
+ $crl = curl_init('https://privateauth.equestria.dev/hub/api/rest/users/me');
curl_setopt($crl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($crl, CURLINFO_HEADER_OUT, true);
curl_setopt($crl, CURLOPT_HTTPHEADER, [