id/dashboard.php
2024-03-02 12:41:57 +00:00

13 lines
236 B
PHP

<?php
if (!$_SESSION['auth']) {
echo("You are being redirected...");
http_response_code(302);
header('Location '. BASE_URL .'/signin?callback=/dashboard');
die();
}
?>
<h1>Hey there <?= $user['display_name'] ?>!</h1>