From 37e4fac560497fc77d5bc177b792706c1afdb67a Mon Sep 17 00:00:00 2001 From: Yuchen Wang Date: Tue, 11 Oct 2011 16:47:53 -0400 Subject: [PATCH] CC-2387: Changing admin password requires entering first / last name Entering first and last name is no longer required when changing password. --- airtime_mvc/application/forms/AddUser.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/airtime_mvc/application/forms/AddUser.php b/airtime_mvc/application/forms/AddUser.php index 4ff63dc12..43b76495c 100644 --- a/airtime_mvc/application/forms/AddUser.php +++ b/airtime_mvc/application/forms/AddUser.php @@ -34,7 +34,6 @@ class Application_Form_AddUser extends Zend_Form $firstName = new Zend_Form_Element_Text('first_name'); $firstName->setLabel('Firstname:'); $firstName->setAttrib('class', 'input_text'); - $firstName->setRequired(true); $firstName->addFilter('StringTrim'); $firstName->addValidator('NotEmpty'); $this->addElement($firstName); @@ -42,7 +41,6 @@ class Application_Form_AddUser extends Zend_Form $lastName = new Zend_Form_Element_Text('last_name'); $lastName->setLabel('Lastname:'); $lastName->setAttrib('class', 'input_text'); - $lastName->setRequired(true); $lastName->addFilter('StringTrim'); $lastName->addValidator('NotEmpty'); $this->addElement($lastName);