asas
This commit is contained in:
8
public/page/logout.php
Normal file
8
public/page/logout.php
Normal 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');
|
||||
Reference in New Issue
Block a user