diff options
Diffstat (limited to 'authfas.module')
-rw-r--r-- | authfas.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/authfas.module b/authfas.module index ed3ac18..80501e2 100644 --- a/authfas.module +++ b/authfas.module @@ -147,8 +147,10 @@ function authfas_admin_validate($form, &$form_state) { curl_close ($ch); if (!isset($response["help"])) { - form_set_error("authfas_fasurl", 'No JSON interface present at https://'.$fasurl.'/json/ or could not verify username "'.$username.'".'); + form_set_error("authfas_fasurl", t('No JSON interface present at https://'.$fasurl.'/json/ or could not verify username "'.$username.'".')); return FALSE; + } else { + drupal_set_message(t('Authentication to FAS was successful.')); } } return TRUE; |