diff options
author | RaindropsSys <raindrops@equestria.dev> | 2024-02-29 20:30:14 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2024-02-29 20:30:14 +0100 |
commit | 96eb5745754824a2a75698af4b60cc0a84c890ea (patch) | |
tree | 8b39f604d48f3fd49b3b8419033bf54a757d974e /auth/callback | |
parent | 430245dc8511ed755081ce44e96b8b7dce7835bf (diff) | |
download | pluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.tar.gz pluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.tar.bz2 pluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.zip |
Updated 9 files (automated)
Diffstat (limited to 'auth/callback')
-rw-r--r-- | auth/callback/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/callback/index.php b/auth/callback/index.php index 9697e63..e808dd1 100644 --- a/auth/callback/index.php +++ b/auth/callback/index.php @@ -21,7 +21,7 @@ curl_setopt($crl, CURLOPT_HTTPHEADER, [ "Content-Type: application/x-www-form-urlencoded", "Accept: application/json" ]); -curl_setopt($crl, CURLOPT_POSTFIELDS, "grant_type=authorization_code&redirect_uri=" . urlencode("https://ponycule.equestria.horse/auth/callback") . "&code=" . $_GET['code']); +curl_setopt($crl, CURLOPT_POSTFIELDS, "grant_type=authorization_code&redirect_uri=" . urlencode("https://ponycule.p.equestria.dev/auth/callback") . "&code=" . $_GET['code']); $result = curl_exec($crl); $result = json_decode($result, true); |