Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
rappasoft authored and StyleCIBot committed Jun 27, 2020
1 parent 52bad7b commit a3fb322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/CheckForReadOnlyMode.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function handle($request, Closure $next)
return $next($request);
}
}

foreach (config('lockout.locked_types', []) as $type) {
if ($request->isMethod('post') && config('lockout.allow_login')) {
abort_if($request->path() !== config('lockout.login_path') && $request->path() !== config('lockout.logout_path'), Response::HTTP_UNAUTHORIZED);
Expand Down

0 comments on commit a3fb322

Please sign in to comment.