mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Don't blank the password field on the login page
This interferes with password managers and the general consensus from the security community is that password managers improve security by encouraging stronger passwords and reducing password re-use.
This commit is contained in:
@@ -39,8 +39,7 @@ if ($gconfig{'showhost'}) {
|
||||
&ui_print_unbuffered_header(
|
||||
undef, undef, undef, undef, undef, 1, 1, undef,
|
||||
"<title>$title</title>",
|
||||
"onLoad='document.forms[0].pass.value = \"\"; ".
|
||||
"document.forms[0].user.focus()'");
|
||||
"onLoad='document.forms[0].user.focus()'");
|
||||
|
||||
if ($tconfig{'inframe'}) {
|
||||
# Framed themes lose original page
|
||||
|
||||
Reference in New Issue
Block a user