131,136d130 < 'webserver_auth_disable_password' => array( < '#type' => 'checkbox', < '#title' => t('Remove change password'), < '#default_value' => variable_get('webserver_auth_disable_password', TRUE), < '#description' => t("Remove the change password field from the edit user profile page."), < ), 140,155d133 < < /** < * Alters forms < * < * @param $form_id The form ID. < * @param $form The form. < */ < function webserver_auth_form_alter(&$form, &$form_state, $form_id) { < switch ($form_id) { < case 'user_profile_form': < if (isset($form['account']['pass']) && variable_get('webserver_auth_disable_password', TRUE)) { < unset($form['account']['pass']); < } < break; < } < } \ No newline at end of file