diff options
author | Paul W. Frields <stickster@gmail.com> | 2010-07-11 12:37:18 -0400 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2010-07-11 22:26:52 -0400 |
commit | f0b1a11c34e871f9bd35382ff4e46efde059be9b (patch) | |
tree | 2518d4b6a0da91c1e85d642465100eb67159fb08 | |
parent | 78d1a005a4e2bf22d1bc8aeb2cfe38a624adedb1 (diff) | |
download | drupal-authfas-6x-f0b1a11c34e871f9bd35382ff4e46efde059be9b.tar.gz drupal-authfas-6x-f0b1a11c34e871f9bd35382ff4e46efde059be9b.tar.xz drupal-authfas-6x-f0b1a11c34e871f9bd35382ff4e46efde059be9b.zip |
Add fieldset for FAS URL verification
-rw-r--r-- | authfas.module | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/authfas.module b/authfas.module index ce69023..434df8c 100644 --- a/authfas.module +++ b/authfas.module @@ -59,7 +59,24 @@ function authfas_admin() { '#description' => t('The location of the FAS instance to which users can authenticate'), '#required' => TRUE, ); - + // Include a fieldset for validating the FAS URL if desired + $form['authfas_verify_fasurl'] = array( + '#type' => 'fieldset', + '#title' => t('FAS URL validation information'), + '#description' => t('Enter a valid account and passphrase to validate the FAS URL above. This information is not required, but can be used to test via JSON whether the URL above is working correctly.'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + $form['authfas_verify_fasurl']['fas_username'] = array( + '#type' => 'textfield', + '#title' => 'FAS username', + '#size' => 40, + '#maxlength' => 255); + $form['authfas_verify_fasurl']['fas_password'] = array( + '#type' => 'password', + '#title' => 'FAS password', + '#size' => 40, + '#maxlength' => 255); // We have a required setting for the Authenticated User role. $form['authfas_authuser_fasgroup'] = array( '#type' => 'textfield', |