From b81d2ab65f8fafce3b818eeb96c1cdcecd3e675f Mon Sep 17 00:00:00 2001 From: "Justin J. Novack" Date: Tue, 18 Sep 2012 13:53:14 -0400 Subject: CLEAN: Removed openid debugging information --- www/login.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'www/login.php') diff --git a/www/login.php b/www/login.php index 9c1b136..a97246f 100644 --- a/www/login.php +++ b/www/login.php @@ -34,11 +34,7 @@ $returnTo = Tools::fullUrl('/login'); try { $o = new \OpenID_RelyingParty($returnTo, $realm, $openid_url); } catch (OpenID_Exception $e) { - $contents = "
\n"; - $contents .= "
" . $e->getMessage() . "
\n"; - $contents .= "
"; - include_once 'openid/wrapper.php'; - exit; + throw new Exception($e->getMessage()); } if (!empty($_POST['disable_associations']) || !empty($_SESSION['disable_associations'])) { @@ -55,11 +51,7 @@ if (isset($_POST['openid_url'])) { try { $authRequest = $o->prepare(); } catch (OpenID_Exception $e) { - $contents = "
\n"; - $contents .= "
" . $e->getMessage() . "
\n"; - $contents .= "
"; - include_once 'openid/wrapper.php'; - exit; + throw new Exception($e->getMessage()); } // SREG -- cgit v1.2.3