Update to Laravel 5.2
This commit is contained in:
parent
02f6bf428e
commit
a3eb4b7dc4
6 changed files with 114 additions and 50 deletions
|
@ -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,
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue