aboutsummaryrefslogtreecommitdiff
path: root/_site/admin/login/index.php
blob: 44db39c42bc4bbd5186c43e744fbc5ba2c3e7a8c (plain)
1
2
3
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://unchainedtech.minteck.ro.lt/admin/callback/&allow_signups=false&scope=read:user");
die();