From: avl Date: Tue, 23 Dec 2008 10:48:47 +0000 (+0200) Subject: fix IPF_Auth_Forms_ChangeSelfPassword X-Git-Tag: 0.5~433 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=130c560e0fe91bc62a9b3ec8415ed0b4f7378020;p=ipf.git fix IPF_Auth_Forms_ChangeSelfPassword --- diff --git a/ipf/auth/forms/changeselfpassword.php b/ipf/auth/forms/changeselfpassword.php index cb4eb3b..af376ac 100644 --- a/ipf/auth/forms/changeselfpassword.php +++ b/ipf/auth/forms/changeselfpassword.php @@ -1,14 +1,14 @@ -fields['oldpassword'] = new IPF_Form_Field_Varchar(array(label=>'Current Password', 'required'=>true, 'widget'=>'IPF_Form_Widget_PasswordInput')); - $this->fields['password1'] = new IPF_Form_Field_Varchar(array(label=>'New Password', 'required'=>true,'widget'=>'IPF_Form_Widget_PasswordInput')); - $this->fields['password2'] = new IPF_Form_Field_Varchar(array(label=>'New Password (repeat)','required'=>true,'widget'=>'IPF_Form_Widget_PasswordInput','help_text'=>'Enter the same password as above, for verification.')); + $this->fields['oldpassword'] = new IPF_Form_Field_Varchar(array('label'=>'Current Password', 'required'=>true, 'widget'=>'IPF_Form_Widget_PasswordInput')); + $this->fields['password1'] = new IPF_Form_Field_Varchar(array('label'=>'New Password', 'required'=>true,'widget'=>'IPF_Form_Widget_PasswordInput')); + $this->fields['password2'] = new IPF_Form_Field_Varchar(array('label'=>'New Password (repeat)','required'=>true,'widget'=>'IPF_Form_Widget_PasswordInput','help_text'=>'Enter the same password as above, for verification.')); } - + function isValid($request){ $ok = parent::isValid(); if ($ok===true){