From b2356bd157b9ec12b8a0a5830edc2736f5ac736a Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Mon, 11 Aug 2008 21:29:17 +0200 Subject: [PATCH] Fixed 17, check the constraints on the login. --- src/IDF/Form/Register.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/IDF/Form/Register.php b/src/IDF/Form/Register.php index 5c28e14..e104bc9 100644 --- a/src/IDF/Form/Register.php +++ b/src/IDF/Form/Register.php @@ -36,12 +36,12 @@ class IDF_Form_Register extends Pluf_Form $this->fields['login'] = new Pluf_Form_Field_Varchar( array('required' => true, 'label' => __('Your login'), - 'max_length' => 8, + 'max_length' => 15, 'min_length' => 3, 'initial' => $login, - 'help_text' => __('The login must be between 3 and 8 characters long and contains only letters and digits.'), + 'help_text' => __('The login must be between 3 and 15 characters long and contains only letters and digits.'), 'widget_attrs' => array( - 'maxlength' => 8, + 'maxlength' => 15, 'size' => 10, ), ));