Open masterpowers opened 8 years ago
The only thing i did to fix this is use predis/predis package then still use your package, but i dont know if im still using the phpredis .. cause it is already installed in my system cause when i try to use php artisan tinker im getting Predis\Client Object .... Im not getting a bool value of true... which is the default before when using the facade with only your package... please check on this, you got a really good package...
I have the same error "Too many login attempts. Please try again in -1458033818 seconds." when using this package...
I am using https://github.com/tillkruss/laravel-phpredis now, seems to work correctly with cache also
I got a provisioned server in forge and local im using phpredis branch php7 then added your package... everything is working fine using the facade
even as Pub/Sub works great...
But Majority that is Out of the Box from laravel
i believe there is also an issue in laravel 4.2...
that the cache driver is not being recognize properly...
I tried to install it in 5.2 then run php artisan make:auth
which uses ThrottleLogin Trait, which uses RateLimiter Class ,
that uses CacheRepository...
Even if i Login correctly im can get an error.
Too many login attempts. Please try again in -1458033818 seconds.
The problem occurs when the has method is being called...
$this->hasTooManyLoginAttempts($request)
if i dive into this it is calling this piece of code
and is returning false.... instead of null so it triggers the method that is it true... so when this method is called
literally the get has nothing to get causing -negative time...
I hope you can fix this bug thanks