initial commit

This commit is contained in:
2021-03-11 16:51:25 +00:00
commit b9521ad7ed
10 changed files with 342 additions and 0 deletions

10
index.php Normal file
View File

@ -0,0 +1,10 @@
<?php
require_once __DIR__ .'/bootstrap.php';
$is_authenticated = $api->isAuthenticated();
if (!$is_authenticated) {
echo '<a href="' . $api->getAuthURL() . '">Login with pnut</a>';
} else {
echo 'Welcome';
}