From 3869aa0fdeacc602daab7592c101cda92c3810cb Mon Sep 17 00:00:00 2001 From: Sven van Hal Date: Tue, 21 Nov 2017 20:06:51 +0100 Subject: [PATCH] Terminate authentication_request_callback() after execution --- includes/openid-connect-generic-client-wrapper.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/openid-connect-generic-client-wrapper.php b/includes/openid-connect-generic-client-wrapper.php index b544da2..8242fb8 100644 --- a/includes/openid-connect-generic-client-wrapper.php +++ b/includes/openid-connect-generic-client-wrapper.php @@ -409,6 +409,8 @@ class OpenID_Connect_Generic_Client_Wrapper { else { wp_redirect( home_url() ); } + + exit; } /**