fixed login handling in the workorder app

This commit is contained in:
2025-09-09 14:01:53 +02:00
parent fe53e4b4ae
commit 94feab5c0c
2 changed files with 6 additions and 1 deletions
@@ -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]);