summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--authfas.module3
1 files changed, 0 insertions, 3 deletions
diff --git a/authfas.module b/authfas.module
index 40577b2..8ba547d 100644
--- a/authfas.module
+++ b/authfas.module
@@ -144,9 +144,6 @@ function authfas_fas_login($username, $password, $url, $headers) {
// #curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
// #curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
$response = json_decode(curl_exec($ch), true);
- if (!$response) {
- drupal_set_message(t('No JSON response available, check AuthFAS settings.'), 'error');
- }
curl_close ($ch);
return $response;