This commit is contained in:
2025-12-27 02:02:42 +01:00
parent 8139b1b47e
commit 54e6e10f4f
7 changed files with 164 additions and 18 deletions

8
public/page/logout.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
$app = app();
$app->session()->start();
session_destroy();
$app->flash()->set('info', 'Du wurdest abgemeldet.');
redirect('/login');