summaryrefslogtreecommitdiff
path: root/app/Template/user/new.php
diff options
context:
space:
mode:
authorMichael Lüpkes <michael@luepkes.net>2015-01-13 14:09:02 +0100
committerMichael Lüpkes <michael@luepkes.net>2015-01-13 14:09:02 +0100
commit569c99a73302271b80cd7c8a25356ea285606563 (patch)
treee37bd3d783a1b24a58fdfbc26278c97aa5c66a60 /app/Template/user/new.php
parent34bbdaeac8c407a97a611cb858617eff3483dbb3 (diff)
set maxlength for name input fields in templates
Diffstat (limited to 'app/Template/user/new.php')
-rw-r--r--app/Template/user/new.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/user/new.php b/app/Template/user/new.php
index 1413bd3d..e56f38b1 100644
--- a/app/Template/user/new.php
+++ b/app/Template/user/new.php
@@ -10,7 +10,7 @@
<?= $this->formCsrf() ?>
<?= $this->formLabel(t('Username'), 'username') ?>
- <?= $this->formText('username', $values, $errors, array('autofocus', 'required')) ?><br/>
+ <?= $this->formText('username', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?><br/>
<?= $this->formLabel(t('Name'), 'name') ?>
<?= $this->formText('name', $values, $errors) ?><br/>