react-simple-captcha
Advanced tools
Comparing version 4.1.1 to 4.1.2
{ | ||
"name": "react-simple-captcha", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "A very simple and powerful captcha for ReactJS", | ||
@@ -5,0 +5,0 @@ "main": "react-simple-captcha.js", |
@@ -149,3 +149,3 @@ # React Simple Captcha | ||
doSubmit = () => { | ||
let user_captcha = document.getElementById('captcha').value; | ||
let user_captcha = document.getElementById('user_captcha_input').value; | ||
@@ -155,3 +155,3 @@ if (validateCaptcha(user_captcha)==true) { | ||
loadcaptchaenginge(6); | ||
document.getElementById('captcha').value = ""; | ||
document.getElementById('user_captcha_input').value = ""; | ||
} | ||
@@ -161,3 +161,3 @@ | ||
alert('Captcha Does Not Match'); | ||
document.getElementById('captcha').value = ""; | ||
document.getElementById('user_captcha_input').value = ""; | ||
} | ||
@@ -178,3 +178,3 @@ }; | ||
<div className="col mt-3"> | ||
<div><input placeholder="Enter Captcha Value" id="captcha" name="captcha" type="text"></input></div> | ||
<div><input placeholder="Enter Captcha Value" id="user_captcha_input" name="user_captcha_input" type="text"></input></div> | ||
</div> | ||
@@ -181,0 +181,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9315