mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-16 21:18:19 +01:00
Merge pull request #3950 from ipunkt/2.4
Fix RemoteUserAuthenticate running after Authenticate
This commit is contained in:
commit
4435526b0e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user