This commit is contained in:
Manish Verma
2018-08-13 19:38:40 +05:30
parent 19772dd653
commit 6da4cc448d
3 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class TokenAuthController extends Controller
public function __construct() public function __construct()
{ {
$this->middleware('api'); $this->middleware('api');
$this->middleware('jwt.authOveride')->only('getAuthenticatedUser');
$PhpMailController = new PhpMailController(); $PhpMailController = new PhpMailController();
$this->PhpMailController = $PhpMailController; $this->PhpMailController = $PhpMailController;
} }

View File

@@ -48,7 +48,7 @@ class Handler extends ExceptionHandler
*/ */
public function report(Exception $e) public function report(Exception $e)
{ {
dd($e); // dd($e);
Bugsnag::setBeforeNotifyFunction(function ($error) { //set bugsnag Bugsnag::setBeforeNotifyFunction(function ($error) { //set bugsnag
return false; return false;
}); });

View File

@@ -1605,6 +1605,8 @@ return [
'default-fallback' => 'Fallback language', 'default-fallback' => 'Fallback language',
'system-language' => 'System\'s default language', 'system-language' => 'System\'s default language',
'set_as_sys_lang' => 'Make default', '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.', '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.', '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.', '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.',