remove restrictions from typed in password

AddPoints
Markus Warg 14 years ago
parent 9be3447231
commit acdc60dea4

@ -223,8 +223,7 @@ class LoginController extends Zend_Controller_Action
->addFilter('StringToLower') ->addFilter('StringToLower')
->setLabel(I18n::_('User Name')); ->setLabel(I18n::_('User Name'));
$password = new Zend_Form_Element_Password('login_password'); $password = new Zend_Form_Element_Password('login_password');
$password->addValidator(new Zend_Validate_Alnum()) $password->addValidator(new Zend_Validate_StringLength(8,20))
->addValidator(new Zend_Validate_StringLength(8,20))
->setRequired(true) ->setRequired(true)
->setLabel(I18n::_('Password')); ->setLabel(I18n::_('Password'));
$submit = new Zend_Form_Element_Submit('submit'); $submit = new Zend_Form_Element_Submit('submit');

Loading…
Cancel
Save