diff options
author | Minteck <contact@minteck.org> | 2022-07-11 18:54:47 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-07-11 18:54:47 +0200 |
commit | f70cf5893bb775625e79ed959721ede03e34a108 (patch) | |
tree | b43b6c392d580304fb47777d240f529e92ea17b0 /Authentication/Callback | |
parent | 2629b95c437cce1d331d8f4ab3a0d1ff394930a7 (diff) | |
download | bits-server-mane.tar.gz bits-server-mane.tar.bz2 bits-server-mane.zip |
Diffstat (limited to 'Authentication/Callback')
-rw-r--r-- | Authentication/Callback/index.php | 4 |
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, [ |