Update to Laravel 5.2

This commit is contained in:
Dane Everitt 2016-01-11 22:04:11 -05:00
parent 02f6bf428e
commit a3eb4b7dc4
6 changed files with 114 additions and 50 deletions

View file

@ -10,6 +10,9 @@ use AccountNotFoundException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Foundation\Validation\ValidationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
@ -22,6 +25,8 @@ class Handler extends ExceptionHandler
protected $dontReport = [
HttpException::class,
ModelNotFoundException::class,
ValidationException::class,
AuthorizationException::class,
];
/**

View file

@ -36,13 +36,6 @@ class AuthController extends Controller
*/
protected $redirectPath = '/';
/**
* Failed post-authentication redirect location.
*
* @var string
*/
protected $loginPath = '/auth/login';
/**
* Lockout time for failed login requests.
*