Skip to content

Commit ac7cec7

Browse files
author
Karel Mareš
authored
add abort 403 http error
fix laravel 5.7 compatibility
1 parent c50014b commit ac7cec7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/FilterIp.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,7 @@ public function handle($request, Closure $next)
3030
)) {
3131
return $next($request);
3232
}
33+
34+
abort(403, 'Forbidden');
3335
}
3436
}

0 commit comments

Comments
 (0)