diff --git a/app/Api/v1/TokenAuthController.php b/app/Api/v1/TokenAuthController.php index 85836aeef..8d141f122 100644 --- a/app/Api/v1/TokenAuthController.php +++ b/app/Api/v1/TokenAuthController.php @@ -29,7 +29,7 @@ class TokenAuthController extends Controller public function __construct() { $this->middleware('api'); - + $this->middleware('jwt.authOveride')->only('getAuthenticatedUser'); $PhpMailController = new PhpMailController(); $this->PhpMailController = $PhpMailController; } diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 00079ffc4..bbfddf597 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -48,7 +48,7 @@ class Handler extends ExceptionHandler */ public function report(Exception $e) { - dd($e); +// dd($e); Bugsnag::setBeforeNotifyFunction(function ($error) { //set bugsnag return false; }); diff --git a/resources/lang/en/lang.php b/resources/lang/en/lang.php index 4bf5a65f9..d371051be 100644 --- a/resources/lang/en/lang.php +++ b/resources/lang/en/lang.php @@ -1605,6 +1605,8 @@ return [ 'default-fallback' => 'Fallback language', 'system-language' => 'System\'s default language', 'set_as_sys_lang' => 'Make default', + 'filtered-results' => 'Filtered results', + 'methon_not_allowed' => 'Method not allowed', 'system-outgoing-incoming-mail-not-configured' => 'You have not configured system mail. Faveo can\'t fetch tickets from mail or send mail to users without it.', 'confihure-the-mail-now' => 'Click here to configure the mail.', 'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct your system\'s admin and report the problem.',