From 6ae668238c37514cacd1977471a10284b432e5a1 Mon Sep 17 00:00:00 2001 From: Minteck <46352972+Minteck@users.noreply.github.com> Date: Sun, 4 Jul 2021 11:41:09 +0200 Subject: Name change --- _site/admin/callback/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_site/admin/callback/index.php') 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 -- cgit