Increase username maxlength to 80 (bug #623)

This commit is contained in:
Jakub Vrana 2018-07-15 21:01:38 +02:00
parent e959e46fa5
commit e8e4934e97
2 changed files with 2 additions and 1 deletions

View file

@ -133,7 +133,7 @@ if ($_POST) {
<form action="" method="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('Username'); ?><td><input name="user" maxlength="80" 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"]); ?>" 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);"); ?>

View file

@ -2,6 +2,7 @@ Adminer 4.6.4-dev:
Fix inline editing of empty cells (regression from 4.6.3)
Allow adding more than two indexes and forign key columns at a time (regression from 4.4.0)
Fix function change with set data type
Increase username maxlength to 80 (bug #623)
MySQL: Support foreign keys created with ANSI quotes (bug #620)
Adminer 4.6.3 (released 2018-06-28):