MINOR Fixed incorrect parameters breaking PasswordField HTML validity because maxlength and size were being populated by non-numeric characters

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@70498 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-01-21 00:50:14 +00:00 committed by Sam Minnee
parent 91ded94943
commit 90d99879ef

View File

@ -51,7 +51,7 @@ class MemberLoginForm extends LoginForm {
$fields = new FieldSet(
new HiddenField("AuthenticationMethod", null, $this->authenticator_class, $this),
new TextField("Email", _t('Member.EMAIL'), Session::get('SessionForms.MemberLoginForm.Email'), null, $this),
new PasswordField("Password", _t('Member.PASSWORD'), null, $this)
new PasswordField("Password", _t('Member.PASSWORD'))
);
if(Security::$autologin_enabled) {
$fields->push(new CheckboxField(