first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
class ControllerCommonLogout extends Controller {
|
||||
public function index() {
|
||||
$this->user->logout();
|
||||
|
||||
unset($this->session->data['user_token']);
|
||||
|
||||
$this->response->redirect($this->url->link('common/login', '', true));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user