diff options
author | Minteck <contact@minteck.org> | 2022-04-06 21:52:16 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-04-06 21:52:16 +0200 |
commit | 9989797ecd50074ea8006613ce4b03e3b38f0e89 (patch) | |
tree | 9539df25f47f4da122b1bfcbbd3e0a2ab1a125dd /admin/login/index.php | |
parent | 01632caf82659e4e8025b4fad91ff7388b369770 (diff) | |
download | cloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.tar.gz cloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.tar.bz2 cloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.zip |
Admin panel done
Diffstat (limited to 'admin/login/index.php')
-rw-r--r-- | admin/login/index.php | 4 |
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(); |