Added scaffolding for recaptcha
This commit is contained in:
parent
4c93119f73
commit
e23094f655
3 changed files with 8 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
|||
"react-markdown": "^2.5.0",
|
||||
"react-modal": "^3.1.7",
|
||||
"react-paginate": "^5.0.0",
|
||||
"react-recaptcha": "^2.3.5",
|
||||
"react-redux": "^5.0.3",
|
||||
"react-simplemde-editor": "^3.6.11",
|
||||
"redux": "^3.6.0",
|
||||
|
|
|
@ -3,6 +3,8 @@ import Link from "component/link";
|
|||
import { CreditAmount } from "component/common";
|
||||
import { Form, FormRow, Submit } from "component/form.js";
|
||||
|
||||
var Recaptcha = require("react-recaptcha");
|
||||
|
||||
class UserEmailVerify extends React.PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
@ -44,6 +46,7 @@ class UserEmailVerify extends React.PureComponent {
|
|||
}}
|
||||
errorMessage={errorMessage}
|
||||
/>
|
||||
<Recaptcha sitekey="6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI" />
|
||||
{/* render help separately so it always shows */}
|
||||
<div className="form-field__helper">
|
||||
<p>
|
||||
|
|
|
@ -6619,6 +6619,10 @@ react-paginate@^5.0.0:
|
|||
prop-types "^15.6.0"
|
||||
react-addons-create-fragment "^15.0.0"
|
||||
|
||||
react-recaptcha@^2.3.5:
|
||||
version "2.3.5"
|
||||
resolved "https://registry.yarnpkg.com/react-recaptcha/-/react-recaptcha-2.3.5.tgz#a5db337125bb00fb13c2fa2e4ebfbe8b0cd06bb7"
|
||||
|
||||
react-redux@^5.0.3:
|
||||
version "5.0.6"
|
||||
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-5.0.6.tgz#23ed3a4f986359d68b5212eaaa681e60d6574946"
|
||||
|
|
Loading…
Add table
Reference in a new issue