diff --git a/modules/openid/www/consumer.php b/modules/openid/www/consumer.php index 0ea166ac6e50fe11e81d5350cae8b29e8812bf66..889fbf59c158f56801437d8eb92d0500ad7a00f1 100644 --- a/modules/openid/www/consumer.php +++ b/modules/openid/www/consumer.php @@ -13,6 +13,7 @@ if ($authSource === NULL) { throw new SimpleSAML_Error_BadRequest('Invalid AuthId \'' . $sourceId . '\' - not found.'); } +$error = NULL; try { if (!empty($_GET['openid_url'])) { $authSource->doAuth($state, (string)$_GET['openid_url']);