From 7a803dd7ff0542502b1d0cef6ffb9c5cb56f4afa Mon Sep 17 00:00:00 2001 From: LautaroCesso <59095036+LautaroCesso@users.noreply.github.com> Date: Wed, 19 Aug 2020 23:45:47 -0300 Subject: [PATCH] Fix security bug, Ticket Number data filtered. (#879) --- server/controllers/ticket/get.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/ticket/get.php b/server/controllers/ticket/get.php index 352999fc..3328a22e 100755 --- a/server/controllers/ticket/get.php +++ b/server/controllers/ticket/get.php @@ -37,7 +37,7 @@ class TicketGetController extends Controller { 'requestData' => [ 'ticketNumber' => [ 'validation' => DataValidator::validTicketNumber(), - 'error' => ERRORS::INVALID_TICKET + 'error' => ERRORS::NO_PERMISSION ] ] ];