Merge pull request #3950 from ipunkt/2.4
Fix RemoteUserAuthenticate running after Authenticate
This commit is contained in:
@@ -151,8 +151,8 @@ class RouteServiceProvider extends ServiceProvider
|
||||
];
|
||||
|
||||
if ($applyAlwaysAuthenticate && !$this->isWhiteListedAuthRoute($routes)) {
|
||||
$middleware[] = Authenticate::class;
|
||||
$middleware[] = RemoteUserAuthenticate::class;
|
||||
$middleware[] = Authenticate::class;
|
||||
}
|
||||
|
||||
$router->group(['middleware' => $middleware], function (Router $router) use ($routes) {
|
||||
|
||||
Reference in New Issue
Block a user