Hanno Böck commited on 2024-01-27 13:21:04
Zeige 2 geänderte Dateien mit 3 Einfügungen und 3 Löschungen.
... | ... |
@@ -79,7 +79,7 @@ $form = '<h4>Benutzername</h4> |
79 | 79 |
<p>Aufgrund einer Einschränkung des MySQL-Servers dürfen Benutzernamen nur maximal 16 Zeichen lang sein.</p> |
80 | 80 |
<p><label for="description">Optionale Beschreibung dieses Benutzers:</label> <input type="text" name="description" id="description" /></p> |
81 | 81 |
<h4>Passwort</h4> |
82 |
-<p><input onchange="document.getElementById(\'newpass_display\').parentNode.style.display=\'none\'" type="password" name="newpass" id="newpass" value="" /> <button type="button" onclick="setRandomPassword()">Passwort erzeugen</button></p> |
|
82 |
+<p><input onchange="document.getElementById(\'newpass_display\').parentNode.style.display=\'none\'" type="password" name="newpass" id="newpass" value="" autocomplete="new-password"> <button type="button" onclick="setRandomPassword()">Passwort erzeugen</button></p> |
|
83 | 83 |
<p style="display: none;">Automatisch erzeugtes Passwort: <input id="newpass_display" type="text" readonly="readonly" /></p> |
84 | 84 |
<h4>Berechtigungen</h4>'; |
85 | 85 |
if (count($dbs) > 0) { |
... | ... |
@@ -133,9 +133,9 @@ if (count($users) > 0) { |
133 | 133 |
} |
134 | 134 |
$form = '<div> |
135 | 135 |
<p><label for="mysql_username">Benutzername:</label> ' . html_select('mysql_username', $my_users) . '</p> |
136 |
- <p><label for="newpass">Passwort:</label> <input onchange="document.getElementById(\'newpass_display\').parentNode.style.display=\'none\'" type="password" name="newpass" id="newpass" value="" /> <button type="button" onclick="setRandomPassword()">Passwort erzeugen</button></p> |
|
136 |
+ <p><label for="newpass">Passwort:</label> <input onchange="document.getElementById(\'newpass_display\').parentNode.style.display=\'none\'" type="password" name="newpass" id="newpass" value="" autocomplete="new-password"> <button type="button" onclick="setRandomPassword()">Passwort erzeugen</button></p> |
|
137 | 137 |
<p style="display: none;">Automatisch erzeugtes Passwort: <input id="newpass_display" type="text" readonly="readonly" /></p> |
138 |
- <p><input type="submit" value="Setzen" /></p> |
|
138 |
+ <p><input type="submit" value="Setzen"></p> |
|
139 | 139 |
</div>'; |
140 | 140 |
|
141 | 141 |
|
142 | 142 |