diff options
author | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-04 11:41:09 +0200 |
---|---|---|
committer | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-04 11:41:09 +0200 |
commit | 6ae668238c37514cacd1977471a10284b432e5a1 (patch) | |
tree | 61e98cabaa82cf64c8390c70bfc934b3941443d3 /_site/admin/callback/index.php | |
parent | 1d62401c897a5ba82d0def92d97d09195a6d676f (diff) | |
download | unchainedtech-6ae668238c37514cacd1977471a10284b432e5a1.tar.gz unchainedtech-6ae668238c37514cacd1977471a10284b432e5a1.tar.bz2 unchainedtech-6ae668238c37514cacd1977471a10284b432e5a1.zip |
Name change
Diffstat (limited to '_site/admin/callback/index.php')
-rw-r--r-- | _site/admin/callback/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_site/admin/callback/index.php b/_site/admin/callback/index.php index 4243799..9c85d46 100644 --- a/_site/admin/callback/index.php +++ b/_site/admin/callback/index.php @@ -41,7 +41,7 @@ curl_setopt($crl, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', "Accept: application/json", "Authorization: token " . $data["access_token"], - "User-Agent: Blogchain-Admin/0.0.0 (nekostarfan@gmail.com)" + "User-Agent: UnchainedTech-Admin/0.0.0 (nekostarfan@gmail.com)" )); $result = curl_exec($crl); @@ -53,7 +53,7 @@ if (!in_array($ndata["login"], json_decode(file_get_contents($_SERVER['DOCUMENT_ } file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/admin/tokens/" . $data["access_token"], $ndata["login"]); -setcookie("ADMIN_TOKEN", $data["access_token"], 0, "/", "blogchain.minteck.ro.lt", true, true); +setcookie("ADMIN_TOKEN", $data["access_token"], 0, "/", "unchainedtech.minteck.ro.lt", true, true); header("Location: /admin"); die();
\ No newline at end of file |