added air call
This commit is contained in:
@@ -51,6 +51,7 @@ class WrenchAuth extends BaseController
|
||||
$out_redis = $this->getCache($fail_endpoint); // try find in cache
|
||||
if (isset($out_redis["fail_count"]) && $out_redis["fail_count"] > 2){
|
||||
// we need stop here
|
||||
log_message('critical', "Danger ***** ***** WrenchAuth::userLogin FAIL = ".$out_redis["fail_count"] );
|
||||
}else{
|
||||
$outF["fail_count"] = isset( $out_redis["fail_count"] ) ? $out_redis["fail_count"]+1:1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user