id/dashboard.php

13 lines
236 B
PHP
Raw Normal View History

2024-03-02 12:41:57 +00:00
<?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>