diff options
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 |