Actually destroy session on logout
This commit is contained in:
parent
e23f7d5a35
commit
077b57ecb3
1 changed files with 5 additions and 0 deletions
|
@ -53,4 +53,9 @@ class Native extends AbstractSession implements ISession
|
||||||
session_start();
|
session_start();
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function clear()
|
||||||
|
{
|
||||||
|
session_destroy();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue