To docker Image
This commit is contained in:
11
www/app/views/Logout.php
Normal file
11
www/app/views/Logout.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
class Logout extends Template
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
global $userManager;
|
||||
$userManager->logout();
|
||||
header('Location: ' . BASEURL . 'login');
|
||||
die();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user