/** * Determine how many retries left. * * @return int */ public function retriesLeft() { $attempts = $this->cacheLimiter->attempts($this->getUniqueLoginKey()); return $this->maxLoginAttempts() - $attempts + 1; }
/** * Determine how many retries left. * * @return int */ public function retriesLeft() { $attempts = $this->cacheLimiter->attempts($this->getUniqueLoginKey()); return $this->maxLoginAttempts() - $attempts + 1; }