From 130c560e0fe91bc62a9b3ec8415ed0b4f7378020 Mon Sep 17 00:00:00 2001 From: avl Date: Tue, 23 Dec 2008 12:48:47 +0200 Subject: [PATCH] fix IPF_Auth_Forms_ChangeSelfPassword --- ipf/auth/forms/changeselfpassword.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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){ -- 2.49.0