diff options
Diffstat (limited to 'lib/user/http.php')
-rw-r--r-- | lib/user/http.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/user/http.php b/lib/user/http.php index 1e044ed4188..e99afe59ba7 100644 --- a/lib/user/http.php +++ b/lib/user/http.php @@ -79,7 +79,11 @@ class OC_User_HTTP extends OC_User_Backend { curl_close($ch); - return $status==200; + if($status === 200) { + return $uid; + } + + return false; } /** |