mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix breaking user picking
This commit is contained in:
@@ -45,7 +45,7 @@ foreach my $key ($ENV{'REMOTE_ADDR'},
|
||||
$uuser ? ( $uuser->{'user'} ) : ( ),
|
||||
$email ? ( $email ) : ( )) {
|
||||
# Don't block if disabled
|
||||
next if (!$failures || !$ptime);
|
||||
next if (!$pfailures || !$ptime);
|
||||
|
||||
if (!$ratelimit{$key."_last"} ||
|
||||
$ratelimit{$key."_last"} < $now-$ptime*60) {
|
||||
|
||||
Reference in New Issue
Block a user