diff --git a/modules/openid/www/consumer.php b/modules/openid/www/consumer.php
index 22291c1abe294ef237c01381ca565a99a4d80788..1bbcea9c37654d0e466cc0774c36c790ae95dcc4 100644
--- a/modules/openid/www/consumer.php
+++ b/modules/openid/www/consumer.php
@@ -37,6 +37,7 @@ function displayError($message) {
 	$t->data['error'] = $message;
 	$t->data['AuthState'] = $authState;
 	$t->show();
+	exit(0);
 }