summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-07-02 16:07:38 +0200
committerRaindropsSys <contact@minteck.org>2023-07-02 16:07:38 +0200
commit7ceb1d721e1e084be80d3ce7342bc05e2ebcbd1e (patch)
tree6335bbefe009497aa83ee4fab2687f1194ab2f53 /auth
parentfb217a26158ac61adaff27528d41cdd48b53ae19 (diff)
downloadpluralconnect-7ceb1d721e1e084be80d3ce7342bc05e2ebcbd1e.tar.gz
pluralconnect-7ceb1d721e1e084be80d3ce7342bc05e2ebcbd1e.tar.bz2
pluralconnect-7ceb1d721e1e084be80d3ce7342bc05e2ebcbd1e.zip
Updated 3 files (automated)
Diffstat (limited to 'auth')
-rw-r--r--auth/callback/index.php2
-rw-r--r--auth/init/index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/auth/callback/index.php b/auth/callback/index.php
index 75d73ea..f48912c 100644
--- a/auth/callback/index.php
+++ b/auth/callback/index.php
@@ -2,7 +2,7 @@
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/functions.inc";
$app = $GLOBALS["ColdHazeApp"] = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true);
-$server = "auth.equestria.horse";
+$server = "account.equestria.dev";
header("Content-Type: text/plain");
diff --git a/auth/init/index.php b/auth/init/index.php
index 6f1ada7..64535f4 100644
--- a/auth/init/index.php
+++ b/auth/init/index.php
@@ -1,7 +1,7 @@
<?php
$app = $GLOBALS["ColdHazeApp"] = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true);
-$server = "auth.equestria.horse";
+$server = "account.equestria.dev";
header("Location: https://$server/hub/api/rest/oauth2/auth?client_id=" . $GLOBALS["ColdHazeApp"]["oauth"]["id"] . "&response_type=code&redirect_uri=https://ponies.equestria.horse/auth/callback&scope=Hub&request_credentials=default&access_type=offline");
die();