<?php
require_once __DIR__ . '/../app/auth.php';
if (current_user()) header("Location: /dashboard.php");
else header("Location: /login.php");
exit;
