mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-12-23 23:02:08 +03:00
Applied styleci patches
This commit is contained in:
@@ -25,7 +25,6 @@ class CheckUserHasPermission
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
|
||||
protected function errorResponse(Request $request)
|
||||
{
|
||||
if ($request->wantsJson()) {
|
||||
@@ -33,6 +32,7 @@ class CheckUserHasPermission
|
||||
}
|
||||
|
||||
session()->flash('error', trans('errors.permission'));
|
||||
|
||||
return redirect('/');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user