Current Settings
- Maximum login attempts: = $rateLimiter->maxAttempts ?>
- Time window: = $rateLimiter->decayMinutes ?> minutes
- Auto-blacklist threshold: = $rateLimiter->autoBlacklistThreshold ?> attempts
- Auto-blacklist duration: = $rateLimiter->autoBlacklistDuration ?> hours
Note: These settings can be modified in the RateLimiter class configuration.
Recent Failed Login Attempts
IP Address |
Username |
Attempted At |
db->prepare("
SELECT ip_address, username, attempted_at
FROM {$rateLimiter->ratelimitTable}
ORDER BY attempted_at DESC
LIMIT 10
");
$stmt->execute();
$attempts = $stmt->fetchAll(PDO::FETCH_ASSOC);
foreach ($attempts as $attempt) {
?>
= htmlspecialchars($attempt['ip_address']) ?> |
= htmlspecialchars($attempt['username']) ?> |
= htmlspecialchars($attempt['attempted_at']) ?> |