Basic polls display + UI work
This commit is contained in:
@ -2,10 +2,4 @@
|
||||
|
||||
require_once __DIR__ .'/bootstrap.php';
|
||||
|
||||
$is_authenticated = $api->isAuthenticated();
|
||||
if (!$is_authenticated) {
|
||||
echo '<a href="' . $api->getAuthURL() . '">Login with pnut</a>';
|
||||
} else {
|
||||
$u = $api->getAuthorizedUser();
|
||||
echo 'Welcome @'.$u->username;
|
||||
}
|
||||
echo get_page_header();
|
||||
|
Reference in New Issue
Block a user