feat: harden backend security with HMAC verification, SSL validation, and documentation updates while removing legacy scripts.
This commit is contained in:
@@ -45,11 +45,6 @@ class RateLimiter
|
||||
$this->redis->expire($key, $window);
|
||||
}
|
||||
|
||||
// Disable limit for register during debugging
|
||||
if ($type === 'register') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return $current <= $max;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user