From 3783496120944c51f1ad5abfcf81f3f87fcfd67b Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 7 Jul 2023 13:51:38 +0800 Subject: [PATCH] Add reset password --- includes/ajax/class-secure.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/ajax/class-secure.php b/includes/ajax/class-secure.php index 690c5b42..7b9c2716 100644 --- a/includes/ajax/class-secure.php +++ b/includes/ajax/class-secure.php @@ -341,9 +341,7 @@ class Secure { $content .= $br . $br . 'Install Challenge-Response plugin to Login & Register Forms'; if ( ! array_key_exists( 'um-recaptcha/um-recaptcha.php', $all_plugins ) ) { - if ( ! isset( $_SERVER['HTTPS'] ) || 'on' !== $_SERVER['HTTPS'] ) { - $content .= $br . $flag . 'We recommend that you install and enable ReCaptcha to Login & Register forms.'; - } + $content .= $br . $flag . 'We recommend that you install and enable ReCaptcha to your Reset Password, Login & Register forms.'; } else { if ( in_array( 'um-recaptcha/um-recaptcha.php', $active_plugins, true ) ) { $content .= $br . $check . 'Ultimate Member ReCaptcha is actived.';