03-20-2021, 07:44 PM
(03-18-2021, 07:34 PM)UncleStevey Wrote: Is it possible to configure HelpDeskZ to require a logged in user before submitting a ticket? I don't want anonymous people to be able to create a ticket and a new account. I would like to create the accounts for customers, not allow anyone to create their own account.
Edit the file /hdz/app/Controllers/Ticket.php
After
PHP Code:
� � public function selectDepartment()
� � {
Add:
PHP Code:
� � � � if(!$this->client->isOnline()){
� � � � � � return redirect()->to(route_to('login'));
� � � � }
Also after
PHP Code:
� � public function create($department_id)
� � {
Add:
PHP Code:
if(!$this->client->isOnline()){
� � � � � � return redirect()->to(route_to('login'));
� � � � }
Andres Mendoza
Project lead
Project lead