added air call

This commit is contained in:
CHIEFSOFT\ameye
2024-10-31 09:00:31 -04:00
parent 7932d897b8
commit 3763b125dc
3 changed files with 12 additions and 5 deletions
+1
View File
@@ -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;
}