protecting input type="password"

This commit is contained in:
RobbBienert 2024-10-06 01:13:28 +02:00
parent 74d6eb4925
commit 46f9843a03
4 changed files with 10 additions and 6 deletions

View file

@ -62,7 +62,7 @@ $c['main'] = '
' . $false_password . '
<form action="login.php" method="post" accept-charset="UTF-8">
<p><label for="password">' . $l['admin']['login_password'] . '</label>
<input class="userdata" id="password" type="password" name="password" autocomplete="off" spellcheck="false" writingsuggestions="false"/>
<input class="userdata" id="password" type="password" name="password" '.NO_PASSWORD_FORM_LEAKS.'/>
<input style="display: none;" name="username" type="text" value="do-not-change" /></p>
<p><input type="hidden" name="url" value="' . htmlspecialchars(!empty($get['url']) ? $get['url'] : '') . '" />
<button value="' . $btnValue . '">' . $btnValue . '</button></p>