Thank i was looking something similar. i want to ban ips from admin panel like if someone spamming or try to ddos or something like this from admin panel we can block ips, ip range, with reason
Hi Zaid, The Middleware is defined inside karnel.php web middleware group. Any Middleware you defined there will be applied on all routes defined in the web.php file. Thanks
Thank i was looking something similar. i want to ban ips from admin panel like if someone spamming or try to ddos or something like this from admin panel we can block ips, ip range, with reason
Sir can we get the Error message as Pop-Up message.
But when did you apply the checkbanned Middleware on route?
Hi Zaid,
The Middleware is defined inside karnel.php web middleware group.
Any Middleware you defined there will be applied on all routes defined in the web.php file.
Thanks
@@TechToolIndia oh thanks , I didn't notice that
guys if this doesn't work try putting the middleware at the end of the web array not the start
Thanks for putting this
thank you
Thank you
You're welcome,
Please Subscribe to the channel.