From b35307dee29ab18b8fcba7e0b42c4e51b6ebdf8b Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Sat, 17 Jul 2010 17:23:03 -0400 Subject: Change login function name --- authfas.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authfas.module b/authfas.module index 1000b9f..5a7963f 100644 --- a/authfas.module +++ b/authfas.module @@ -117,7 +117,7 @@ function authfas_menu() { return $items; } -function fas_login($username, $password, $url, $headers) { +function authfas_fas_login($username, $password, $url, $headers) { $username = strtolower($username); $ch = curl_init(); @@ -149,7 +149,7 @@ function authfas_admin_validate($form, &$form_state) { $password = $form_state['values']['fas_password']; if (($username != '') and ($password != '')) { - $response = fas_login($username, $password, 'https://'.$fasurl.'/json/', 'Accept: application/json;'); + $response = authfas_fas_login($username, $password, 'https://'.$fasurl.'/json/', 'Accept: application/json;'); if (!isset($response["help"])) { form_set_error("authfas_fasurl", t('No JSON interface present at https://'.$fasurl.'/json/ or could not verify username "'.$username.'".')); -- cgit