diff --git a/app/Controller/RegistrationController.php b/app/Controller/RegistrationController.php index 6ffb9b7..35a6c13 100644 --- a/app/Controller/RegistrationController.php +++ b/app/Controller/RegistrationController.php @@ -40,6 +40,7 @@ class RegistrationController extends AppController { $data['DreamjobUser']['street'] = $this->request->data['DreamjobUser']['street']; $data['DreamjobUser']['postcode'] = $this->request->data['DreamjobUser']['postcode']; $data['AppUser']['nickname'] = $this->request->data['AppUser']['nickname']; + $data['AppUser']['take_systemwide'] = true; $data['DreamjobCompany']['corporateform'] = $this->request->data['DreamjobCompany']['corporateform']; $data['DreamjobCompany']['owner'] = $this->request->data['DreamjobCompany']['owner']; @@ -94,6 +95,8 @@ class RegistrationController extends AppController { $data['AppUser']['bday'] = $this->request->data['AppUser']['bday']; $data['AppUser']['first_name'] = $this->request->data['AppUser']['first_name']; $data['AppUser']['last_name'] = $this->request->data['AppUser']['last_name']; + $data['AppUser']['take_systemwide'] = true; + //WORKER $data['AppUser']['mannerofaddress_id'] = $this->request->data['AppUser']['mannerofaddress_id']; $data['DreamjobWorker']['country'] = $this->request->data['DreamjobWorker']['country'];