diff --git a/config/fortify.php b/config/fortify.php index 3a2d43d4..9140bcda 100644 --- a/config/fortify.php +++ b/config/fortify.php @@ -4,6 +4,7 @@ return [ 'guard' => 'web', + 'middleware' => ['web'], 'passwords' => 'users', 'username' => 'email', 'email' => 'email', diff --git a/stubs/fortify.php b/stubs/fortify.php index ce583bab..497dc9e9 100644 --- a/stubs/fortify.php +++ b/stubs/fortify.php @@ -18,6 +18,19 @@ 'guard' => 'web', + /* + |-------------------------------------------------------------------------- + | Fortify Routes Middleware + |-------------------------------------------------------------------------- + | + | Here you may specify which middleware Fortify will use while processing + | the requested route. This configured value must be an array. You may + | change the middleware listed below as required. + | + */ + + 'middleware' => ['web'], + /* |-------------------------------------------------------------------------- | Fortify Password Broker