diff --git a/wp-content/themes/academyAfrica/includes/functions/login.php b/wp-content/themes/academyAfrica/includes/functions/login.php index c6d255c..9c0507d 100644 --- a/wp-content/themes/academyAfrica/includes/functions/login.php +++ b/wp-content/themes/academyAfrica/includes/functions/login.php @@ -37,6 +37,7 @@ function custom_login_page() if($check_path == "/wp-login.php" && $_SERVER['REQUEST_METHOD'] == 'POST' && isset($_GET["wpe-login"])){ $login = home_url("/login" . "?redirect_url=" . $path_name."&login=failed"); wp_redirect($login); + exit; } }