fixed login handling in the workorder app
This commit is contained in:
@@ -35,6 +35,11 @@ class WorkorderCompanyController extends WorkorderBaseController {
|
||||
parent::indexAction();
|
||||
}
|
||||
|
||||
protected function logout() {
|
||||
mfLoginController::staticLogout();
|
||||
$this->redirect('/WorkorderCompany/Mobile');
|
||||
}
|
||||
|
||||
public function mobileAction() {
|
||||
$company = WorkorderCompanyModel::getFirst(['addressId' => $this->user->address_id]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user