aboutsummaryrefslogtreecommitdiff
path: root/admin/login
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-04-06 21:52:16 +0200
committerMinteck <contact@minteck.org>2022-04-06 21:52:16 +0200
commit9989797ecd50074ea8006613ce4b03e3b38f0e89 (patch)
tree9539df25f47f4da122b1bfcbbd3e0a2ab1a125dd /admin/login
parent01632caf82659e4e8025b4fad91ff7388b369770 (diff)
downloadcloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.tar.gz
cloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.tar.bz2
cloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.zip
Admin panel done
Diffstat (limited to 'admin/login')
-rw-r--r--admin/login/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/login/index.php b/admin/login/index.php
new file mode 100644
index 0000000..41c4298
--- /dev/null
+++ b/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'] . "/data/github.json"), true)["id"] . "&redirect_uri=http://$_SERVER[HTTP_HOST]/admin/callback/&allow_signups=false&scope=read:user");
+die();