Skip to content

Commit

Permalink
fix(common): captcha check
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Oct 27, 2022
1 parent 2c5dc27 commit b2b7efc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inc/common.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ public static function checkCaptcha($captchaId, $challenge, $expiration = 600) {
}

$result = strtolower($_SESSION['plugin_formcreator']['captcha'][$captchaId]['phrase']) == strtolower((string) $challenge);
unset($_SESSION['plugin_formcreator']['captcha'][$captchaId]);

return $result;
}
Expand Down

0 comments on commit b2b7efc

Please sign in to comment.