diff options
| author | michael pereira | 2011-04-13 15:31:33 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-13 15:31:33 +0200 |
| commit | c8aae2da451be228d8059af6bb6603985fbac212 (patch) | |
| tree | d711c0803bfda886ce07afb001f014f2492b8a11 /application/modules/user/forms | |
| parent | User login + homeverzeichnis in config (diff) | |
| parent | Merge branch 'master' of ssh://git.openslx.org/lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-c8aae2da451be228d8059af6bb6603985fbac212.tar.gz pbs2-c8aae2da451be228d8059af6bb6603985fbac212.tar.xz pbs2-c8aae2da451be228d8059af6bb6603985fbac212.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/forms')
| -rw-r--r-- | application/modules/user/forms/PersonEdit.php | 2 | ||||
| -rw-r--r-- | application/modules/user/forms/Register.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/user/forms/PersonEdit.php b/application/modules/user/forms/PersonEdit.php index 7175691..392174c 100644 --- a/application/modules/user/forms/PersonEdit.php +++ b/application/modules/user/forms/PersonEdit.php @@ -92,7 +92,7 @@ class user_Form_PersonEdit extends Zend_Form $this->addElement('password', 'newpassword', array( 'filters' => array('StringTrim'), 'validators' => array( - array('StringLength', false, array(0, 50)), + array('StringLength', false, array(5, 50)), ), 'required' => false, 'label' => 'Neues Password:', diff --git a/application/modules/user/forms/Register.php b/application/modules/user/forms/Register.php index 9c2a42d..1a054c4 100644 --- a/application/modules/user/forms/Register.php +++ b/application/modules/user/forms/Register.php @@ -84,7 +84,7 @@ class user_Form_Register extends Zend_Form $this->addElement('password', 'password', array( 'filters' => array('StringTrim'), 'validators' => array( - array('StringLength', false, array(0, 50)), + array('StringLength', false, array(5, 50)), ), 'required' => true, 'label' => 'Password:', |
