YAGS/web/CONTROLLERS/logout.php

8 lines
152 B
PHP

<?php
$container = new \wsos\structs\container();
$auth = $container->get("auth");
$auth->logout();
header('Location: /');
?>