mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-08 12:39:17 -04:00
Only remove the user from the session when logging out.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
class Logout_Controller extends Controller {
|
||||
public function index() {
|
||||
try {
|
||||
Session::instance()->destroy();
|
||||
Session::instance()->delete("user");
|
||||
} catch (Exception $e) {
|
||||
Kohana::log("error", $e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user