test
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 0acee3ab42
commit 83f79700c2

@ -277,7 +277,8 @@ class UserController
} }
public function logout() public function logout()
{ {
$_SESSION['role'] = 'visitor'; session_destroy();
// $_SESSION['role'] = 'visitor';
header('Location: index.php'); header('Location: index.php');
} }

Loading…
Cancel
Save