예제 #1
0
 /**
  * Asks the loginThrottler service if the given identity has reached the throttle_limit.
  *
  * @param mixed $identity The login identity.
  * @return boolean True if the identity has reached the throttle_limit.
  * @static 
  */
 public static function isThrottled($identity)
 {
     return \Zizaco\Confide\Confide::isThrottled($identity);
 }
예제 #2
0
 /**
  * Checks if the credentials has been throttled by too
  * much failed login attempts
  *
  * @param array $credentials
  * @return mixed Value.
  * @static 
  */
 public static function isThrottled($credentials)
 {
     return \Zizaco\Confide\Confide::isThrottled($credentials);
 }