mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
fix logout useless session_unset()
This commit is contained in:
parent
08bf5a878a
commit
2519df2c2a
1 changed files with 1 additions and 1 deletions
|
@ -151,8 +151,8 @@ namespace controllers\publics;
|
|||
*/
|
||||
public function logout()
|
||||
{
|
||||
session_unset();
|
||||
session_destroy();
|
||||
$_SESSION = [];
|
||||
|
||||
return $this->redirect(\descartes\Router::url('Connect', 'login'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue