diff --git a/application/forms/Config/Authentication/DbBackendForm.php b/application/forms/Config/Authentication/DbBackendForm.php index 38b87c179..bb1e68924 100644 --- a/application/forms/Config/Authentication/DbBackendForm.php +++ b/application/forms/Config/Authentication/DbBackendForm.php @@ -55,7 +55,6 @@ class DbBackendForm extends BaseBackendForm 'name', array( 'required' => true, - 'allowEmpty' => false, 'label' => t('Backend Name'), 'helptext' => t('The name of this authentication provider'), ) @@ -65,23 +64,11 @@ class DbBackendForm extends BaseBackendForm 'resource', array( 'required' => true, - 'allowEmpty' => false, 'label' => t('Database Connection'), 'helptext' => t('The database connection to use for authenticating with this provider'), 'multiOptions' => $this->resources ) ), - $this->createElement( - 'button', - 'btn_submit', - array( - 'type' => 'submit', - 'value' => '1', - 'escape' => false, - 'class' => 'btn btn-cta btn-wide', - 'label' => ' Save Backend' - ) - ), $this->createElement( 'hidden', 'backend', diff --git a/application/forms/Config/Authentication/LdapBackendForm.php b/application/forms/Config/Authentication/LdapBackendForm.php index 8e1872e86..8d275b00e 100644 --- a/application/forms/Config/Authentication/LdapBackendForm.php +++ b/application/forms/Config/Authentication/LdapBackendForm.php @@ -55,7 +55,6 @@ class LdapBackendForm extends BaseBackendForm 'name', array( 'required' => true, - 'allowEmpty' => false, 'label' => t('Backend Name'), 'helptext' => t('The name of this authentication backend') ) @@ -65,7 +64,6 @@ class LdapBackendForm extends BaseBackendForm 'resource', array( 'required' => true, - 'allowEmpty' => false, 'label' => t('LDAP Resource'), 'helptext' => t('The resource to use for authenticating with this provider'), 'multiOptions' => $this->resources @@ -91,17 +89,6 @@ class LdapBackendForm extends BaseBackendForm 'value' => 'uid' ) ), - $this->createElement( - 'button', - 'btn_submit', - array( - 'type' => 'submit', - 'value' => '1', - 'escape' => false, - 'class' => 'btn btn-cta btn-wide', - 'label' => ' Save Backend' - ) - ), $this->createElement( 'hidden', 'backend',