mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-07-30 19:51:59 -07:00
Attempt to curtail password autofill when it shouldn't happen
e.g. when you're editing another user. Web browser devs think they're so smart...
This commit is contained in:
@@ -147,6 +147,11 @@
|
||||
$tccell1><b>{$passhint}</td> $tccell2l colspan=2>
|
||||
{$altloginjs}
|
||||
<b>Username:</b> $inpt=username VALUE=\"".htmlspecialchars($username)."\" SIZE=25 MAXLENGTH=25 autocomplete=\"off\">
|
||||
|
||||
<!-- Hack around autocomplete, fake inputs (don't use these in the file) -->
|
||||
<input style=\"display:none;\" type=\"text\" name=\"__f__usernm__\">
|
||||
<input style=\"display:none;\" type=\"password\" name=\"__f__passwd__\">
|
||||
|
||||
<b>Password:</b> $inpp=password SIZE=13 MAXLENGTH=64 autocomplete=\"off\">
|
||||
</span><tr>";
|
||||
print $form;
|
||||
|
Reference in New Issue
Block a user