diff options
Diffstat (limited to 'mod/authtest.php')
-rw-r--r-- | mod/authtest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/authtest.php b/mod/authtest.php index 7747ea504..c997a5cf9 100644 --- a/mod/authtest.php +++ b/mod/authtest.php @@ -34,7 +34,7 @@ function authtest_content(&$a) { if(! $j) $o .= 'json_decode failure from remote site. ' . print_r($z['body'],true); $o .= 'Remote site responded: ' . print_r($j,true); - if(strpos($j,'Authentication Success')) + if(j['success'] && strpos($j[message'],'Authentication Success')) $auth_success = true; } else { |