Fixed docker errors and improved error logging..
This commit is contained in:
@@ -479,7 +479,7 @@ class TldRegistryService
|
||||
/**
|
||||
* Get count of TLDs that need WHOIS data
|
||||
*/
|
||||
public function getTldsNeedingWhoisCount(int $logId = null): int
|
||||
public function getTldsNeedingWhoisCount(?int $logId = null): int
|
||||
{
|
||||
if ($logId) {
|
||||
// For a specific import session, count TLDs that haven't been processed yet
|
||||
|
||||
@@ -278,7 +278,7 @@ class TwoFactorService
|
||||
/**
|
||||
* Check rate limiting for 2FA attempts
|
||||
*/
|
||||
public function checkRateLimit(string $ipAddress, int $userId = null): bool
|
||||
public function checkRateLimit(string $ipAddress, ?int $userId = null): bool
|
||||
{
|
||||
$rateLimitMinutes = (int)$this->settingModel->getValue('two_factor_rate_limit_minutes', 15);
|
||||
$since = date('Y-m-d H:i:s', time() - ($rateLimitMinutes * 60));
|
||||
|
||||
Reference in New Issue
Block a user