Changeset 3442150
- Timestamp:
- 01/19/2026 01:52:59 AM (2 months ago)
- Location:
- user-verification/trunk
- Files:
-
- 3 edited
-
readme.md (modified) (1 diff)
-
templates/email-otp-login-form/hook.php (modified) (2 diffs)
-
user-verification.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
user-verification/trunk/readme.md
r3425414 r3442150 5 5 Requires at least: 4.1 6 6 Tested up to: 6.9 7 Stable tag: 2.0.4 47 Stable tag: 2.0.45 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
user-verification/trunk/templates/email-otp-login-form/hook.php
r3425414 r3442150 11 11 $steps = (int) $request->get_param('steps'); 12 12 $otp_code = $request->get_param('otp'); 13 $_wpnonce = $request->get_param('_wpnonce'); 13 14 // $gRecaptchaResponse = $request->get_param('g-recaptcha-response'); 15 16 17 if (!wp_verify_nonce($_wpnonce, 'wp_rest')) { 18 19 20 21 $response['errors']['invalidRequest'] = __('Invalid request', 'user-verification'); 22 return $response; 23 24 }; 14 25 15 26 … … 137 148 $saved_otp = get_user_meta($user_id, 'uv_otp', true); 138 149 139 150 if(empty($otp_code)){ 151 $UserVerificationStats->add_stats('wrong_email_otp_used'); 152 $response['errors']['wrong_otp'] = __('Wrong OTP used.', 'user-verification'); 153 return $response; 154 } 155 156 157 if(empty($saved_otp)){ 158 $UserVerificationStats->add_stats('wrong_email_otp_used'); 159 $response['errors']['wrong_otp'] = __('OTP missmatch.', 'user-verification'); 160 return $response; 161 } 140 162 141 163 -
user-verification/trunk/user-verification.php
r3425414 r3442150 4 4 Plugin URI: http://pickplugins.com 5 5 Description: Verify user before access on your website. 6 Version: 2.0.4 46 Version: 2.0.45 7 7 Text Domain: user-verification 8 8 Domain Path: /languages
Note: See TracChangeset
for help on using the changeset viewer.