summaryrefslogtreecommitdiff
path: root/Authentication/Callback/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'Authentication/Callback/index.php')
-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, [