From 569c99a73302271b80cd7c8a25356ea285606563 Mon Sep 17 00:00:00 2001 From: Michael Lüpkes Date: Tue, 13 Jan 2015 14:09:02 +0100 Subject: set maxlength for name input fields in templates --- app/Template/user/new.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Template/user/new.php') 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 @@ formCsrf() ?> formLabel(t('Username'), 'username') ?> - formText('username', $values, $errors, array('autofocus', 'required')) ?>
+ formText('username', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
formLabel(t('Name'), 'name') ?> formText('name', $values, $errors) ?>
-- cgit v1.2.3