1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Add alias for web to auth routes

This commit is contained in:
Hillel Coren 2016-12-07 22:49:27 +02:00
parent 4cde9f3d88
commit e0e88de8b3

View File

@ -29,6 +29,7 @@ class Kernel extends HttpKernel {
*/
protected $routeMiddleware = [
'auth' => 'App\Http\Middleware\Authenticate',
'web' => 'App\Http\Middleware\Authenticate',
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
'permissions.required' => 'App\Http\Middleware\PermissionsRequired',
'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',