Actually destroy session on logout

pull/8982/head
Hypolite Petovan 2020-08-06 10:29:19 -04:00
parent e23f7d5a35
commit 077b57ecb3
1 changed files with 5 additions and 0 deletions

View File

@ -53,4 +53,9 @@ class Native extends AbstractSession implements ISession
session_start();
return $this;
}
public function clear()
{
session_destroy();
}
}