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()
{
$this->middleware('api');
$this->middleware('jwt.authOveride')->only('getAuthenticatedUser');
$PhpMailController = new PhpMailController();
$this->PhpMailController = $PhpMailController;
}

View File

@@ -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;
});