Primer subida completa
This commit is contained in:
8
public/logout.php
Executable file
8
public/logout.php
Executable file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../src/Auth.php';
|
||||
|
||||
$auth = new Auth();
|
||||
$auth->logout();
|
||||
|
||||
header('Location: /login.php');
|
||||
exit;
|
||||
Reference in New Issue
Block a user