summaryrefslogtreecommitdiff
path: root/app/Template/user_modification
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-04-12 15:08:29 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-04-12 15:39:55 -0700
commit0e8a94ac42c5f4345658d1581f9b2c7afa705a3a (patch)
tree437e5967e062eead16f2fdd14797d9eba01a584d /app/Template/user_modification
parentd8c625c8562f527f4a1a7cec6c3e6904ca11b69d (diff)
Adjust field size to keep compatibility with MySQL 5.6
Diffstat (limited to 'app/Template/user_modification')
-rw-r--r--app/Template/user_modification/show.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/user_modification/show.php b/app/Template/user_modification/show.php
index 2bca6675..a21b9d33 100644
--- a/app/Template/user_modification/show.php
+++ b/app/Template/user_modification/show.php
@@ -8,7 +8,7 @@
<fieldset>
<legend><?= t('Profile') ?></legend>
<?= $this->form->label(t('Username'), 'username') ?>
- <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', isset($values['is_ldap_user']) && $values['is_ldap_user'] == 1 && !$this->user->isAdmin() ? 'readonly' : '', 'maxlength="255"')) ?>
+ <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', isset($values['is_ldap_user']) && $values['is_ldap_user'] == 1 && !$this->user->isAdmin() ? 'readonly' : '', 'maxlength="191"')) ?>
<?= $this->form->label(t('Name'), 'name') ?>
<?= $this->form->text('name', $values, $errors, array($this->user->hasAccess('UserModificationController', 'show/edit_name') ? '' : 'readonly')) ?>