Closed alankarglobant closed 5 years ago
Sorry for the Sentry check issue it was the middleware integration not related with the Sentinel. Apologies for the same.
It seems the Throttling repository is not being set on the Sentinel instance, only on the Checkpoint.
Adding $sentinel->setThrottleRepository($app['sentinel.throttling']);
around line 321 of the SentinelServiceProvider
seems to solve the problem.
@suwardany Was there any reason or was pretty much forgotten?
The documentation is also not supportive for throttle implementation.
Sentinel::getThrottleRepository()
return null.Call to a member function setUserThresholds() on null
error returns when :$throttle = Sentinel::getThrottleRepository()->setUserThresholds(5);