aboutsummaryrefslogtreecommitdiff
path: root/_site/admin/login/index.php
diff options
context:
space:
mode:
Diffstat (limited to '_site/admin/login/index.php')
-rw-r--r--_site/admin/login/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/_site/admin/login/index.php b/_site/admin/login/index.php
new file mode 100644
index 0000000..0741757
--- /dev/null
+++ b/_site/admin/login/index.php
@@ -0,0 +1,4 @@
+<?php
+
+header("Location: https://github.com/login/oauth/authorize?client_id=" . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/admin/credentials.json"), true)["id"] . "&redirect_uri=https://blogchain.minteck.ro.lt/admin/callback/&allow_signups=false&scope=read:user");
+die(); \ No newline at end of file