summaryrefslogtreecommitdiff
path: root/app/Template/user/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/user/edit.php')
-rw-r--r--app/Template/user/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/user/edit.php b/app/Template/user/edit.php
index 43171d29..310a1ed0 100644
--- a/app/Template/user/edit.php
+++ b/app/Template/user/edit.php
@@ -9,7 +9,7 @@
<?= $this->formHidden('is_ldap_user', $values) ?>
<?= $this->formLabel(t('Username'), 'username') ?>
- <?= $this->formText('username', $values, $errors, array('required', $values['is_ldap_user'] == 1 ? 'readonly' : '')) ?><br/>
+ <?= $this->formText('username', $values, $errors, array('required', $values['is_ldap_user'] == 1 ? 'readonly' : '', 'maxlength="50"')) ?><br/>
<?= $this->formLabel(t('Name'), 'name') ?>
<?= $this->formText('name', $values, $errors) ?><br/>