]> git.joonet.de Git - adminer.git/commitdiff
Disable autocompleting password on create user page
authorJakub Vrana <jakub@vrana.cz>
Fri, 2 Feb 2018 07:52:15 +0000 (08:52 +0100)
committerJakub Vrana <jakub@vrana.cz>
Fri, 2 Feb 2018 07:52:15 +0000 (08:52 +0100)
adminer/user.inc.php
changes.txt

index 97dff632496b0ab629fcaed392913d7ac09b5dcf..abaab55a9704d764799ef7d6cf21d7ff571fdc71 100644 (file)
@@ -134,7 +134,7 @@ if ($_POST) {
 <table cellspacing="0">
 <tr><th><?php echo lang('Server'); ?><td><input name="host" maxlength="60" value="<?php echo h($row["host"]); ?>" autocapitalize="off">
 <tr><th><?php echo lang('Username'); ?><td><input name="user" maxlength="16" value="<?php echo h($row["user"]); ?>" autocapitalize="off">
-<tr><th><?php echo lang('Password'); ?><td><input name="pass" id="pass" value="<?php echo h($row["pass"]); ?>">
+<tr><th><?php echo lang('Password'); ?><td><input name="pass" id="pass" value="<?php echo h($row["pass"]); ?>" autocomplete="new-password">
 <?php if (!$row["hashed"]) { echo script("typePassword(qs('#pass'));"); } ?>
 <?php echo checkbox("hashed", 1, $row["hashed"], lang('Hashed'), "typePassword(this.form['pass'], this.checked);"); ?>
 </table>
index 6fa52ff91330247ac3c6b39b5e595246c4caf012..ca52e9f2a4fa7268bf45f98b4341fe37b5458cc8 100644 (file)
@@ -5,6 +5,7 @@ Fully support functions in default values
 Stop redirecting links via adminer.org
 Support X-Forwarded-Prefix
 Display options for timestamp columns when creating a new table
+Disable autocompleting password on create user page
 Use primary key to edit rows even if not selected
 MySQL, PostgreSQL: Display warnings
 MySQL: Add floor and ceil select functions