Adjust field size to keep compatibility with MySQL 5.6

This commit is contained in:
Frédéric Guillot
2018-04-12 15:08:29 -07:00
parent d8c625c856
commit 0e8a94ac42
27 changed files with 59 additions and 39 deletions

View File

@@ -10,7 +10,7 @@
<legend><?= t('Profile') ?></legend>
<?= $this->form->label(t('Username'), 'username') ?>
<?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?>
<?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?>
<?= $this->form->label(t('Name'), 'name') ?>
<?= $this->form->text('name', $values, $errors) ?>