react-simple-captcha
Advanced tools
Comparing version 5.2.4 to 5.2.5
{ | ||
"name": "react-simple-captcha", | ||
"version": "5.2.4", | ||
"version": "5.2.5", | ||
"description": "A very simple and powerful captcha for ReactJS", | ||
@@ -5,0 +5,0 @@ "main": "react-simple-captcha.js", |
@@ -65,9 +65,2 @@ import { Component } from 'react'; | ||
//export const LoadCanvasTemplate = "<div><canvas id=\"canv\"></canvas><div><a id=\"reload_href\" style=\"cursor: pointer; color: blue\">Reload Captcha</a></div></div>"; | ||
//export const LoadCanvasTemplateNoReload = '<div><canvas id="canv"></canvas><div><a id=\"reload_href\" ></a></div></div>'; | ||
export const validateCaptcha = (userValue, reload = true) => { | ||
@@ -74,0 +67,0 @@ if (userValue != captcha_value) { |
9406
66