akaunting / laravel-firewall

Web Application Firewall (WAF) package for Laravel
https://akaunting.com
MIT License
942 stars 106 forks source link

[Not an issue] Getting block reason in view #35

Closed captenmasin closed 3 years ago

captenmasin commented 3 years ago

Is there currently a way of displaying the reason for the blocking in the template when you setup a custom view?

E.g "You have tried to login too many times, you are now blocked"

denisdulici commented 3 years ago

Sure, you can get the reason from the Logs table and use it in your view.