]> source.dussan.org Git - nextcloud-server.git/commitdiff
don't show errors when the login isn't an openid identity
authorRobin Appelman <icewind1991@gmail.com>
Thu, 23 Jun 2011 15:58:27 +0000 (17:58 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Thu, 23 Jun 2011 15:58:27 +0000 (17:58 +0200)
apps/user_openid/user_openid.php

index d4bcefeb26f9f6ce5d4e628e64b3ef718616332a..ddf5cc9bc23964992880ce4aa9b1550214c69ba6 100644 (file)
@@ -47,9 +47,7 @@ class OC_USER_OPENID extends OC_USER_BACKEND {
                        $openid->Redirect();     // This will redirect user to OpenID Server
                        exit;
                }else{
-                       $error = $openid->GetError();
-                       echo "ERROR CODE: " . $error['code'] . "<br>";
-                       echo "ERROR DESCRIPTION: " . $error['description'] . "<br>";
+                       return false;
                }
                exit;
        }