Verify button disabled with no captcha
This commit is contained in:
parent
33336256d0
commit
17be062b52
1 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,10 @@ class UserEmailVerify extends React.PureComponent {
|
|||
</p>
|
||||
</div>
|
||||
<div className="form-row-submit">
|
||||
<Submit label={__("Verify")} disabled={isPending} />
|
||||
<Submit
|
||||
label={__("Verify")}
|
||||
disabled={isPending || !this.state.code || !this.state.recaptcha}
|
||||
/>
|
||||
{cancelButton}
|
||||
</div>
|
||||
</Form>
|
||||
|
|
Loading…
Add table
Reference in a new issue