<?php

namespace Webuccino\Install\Core\Middleware;

class Authenticated
{
    public function handle()
    {
        if (!$_SESSION['user'] ?? false) {
            header('location: /');
            exit();
        }
    }
}
