From e4d3c4db0929770ebf70fd0d943821c5ca128519 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Mon, 21 Mar 2011 10:06:49 +0100 Subject: Login in User Module --- application/modules/user/forms/RecoverPassword.php | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 application/modules/user/forms/RecoverPassword.php (limited to 'application/modules/user/forms/RecoverPassword.php') diff --git a/application/modules/user/forms/RecoverPassword.php b/application/modules/user/forms/RecoverPassword.php new file mode 100644 index 0000000..90feb87 --- /dev/null +++ b/application/modules/user/forms/RecoverPassword.php @@ -0,0 +1,28 @@ +setName("RecoverPassword"); + $this->setMethod('post'); + + $this->addElement('text', 'email', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 30)), + ), + 'required' => true, + 'label' => 'Email:', + )); + $this->addElement('submit', 'recoverPassword', array( + 'required' => false, + 'ignore' => true, + 'label' => 'Recover Password', + )); + } + + +} + -- cgit v1.2.3-55-g7522