mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix to drop obsolete code
This commit is contained in:
11
miniserv.pl
11
miniserv.pl
@@ -2101,12 +2101,8 @@ if (!$validated) {
|
||||
$method = "GET";
|
||||
$querystring .= "&failed=".&urlize($failed_user)
|
||||
if ($failed_user);
|
||||
if ($twofactor_msg) {
|
||||
$querystring .= "&failed_save=".&urlize($failed_save);
|
||||
$querystring .= "&failed_pass=".&urlize($failed_pass);
|
||||
$querystring .= "&failed_twofactor_attempt=".&urlize($failed_twofactor_attempt);
|
||||
$querystring .= "&twofactor_msg=".&urlize($twofactor_msg);
|
||||
}
|
||||
$querystring .= "&twofactor_msg=".&urlize($twofactor_msg)
|
||||
if ($twofactor_msg);
|
||||
$querystring .= "&timed_out=$timed_out"
|
||||
if ($timed_out);
|
||||
$queryargs = "";
|
||||
@@ -4352,10 +4348,7 @@ else {
|
||||
$expired ? 'expiredpass' : 'wrongpass',
|
||||
$loghost, $localip);
|
||||
$failed_user = $vu;
|
||||
$failed_pass = $pass;
|
||||
$failed_save = $in{'save'};
|
||||
$failed_twofactor_attempt = $in{'failed_twofactor_attempt'} || 0;
|
||||
$failed_twofactor_attempt++;
|
||||
$request_uri = $in{'page'};
|
||||
$already_session_id = undef;
|
||||
$method = "GET";
|
||||
|
||||
Reference in New Issue
Block a user