akaunting / laravel-firewall

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

Call to undefined method Akaunting\Firewall\Middleware\Whitelist::whitelist() #1

Closed trevorllarson closed 5 years ago

trevorllarson commented 5 years ago

When using just the firewall.whitelist, getting call to undefined.

Route::group(['middleware' => 'firewall.whitelist'], function () {

    Route::get('/admin', 'Admin\DashboardController@index');

});
trevorllarson commented 5 years ago

https://ep.d.pr/D0W1Er

denisdulici commented 5 years ago

Thanks Travor for reporting.

trevorllarson commented 5 years ago

Thanks for the quick response!!!

camedero69 commented 5 years ago

How do I add several ip of different ranges in the white list? could someone help me