debug recaptcha
This commit is contained in:
parent
1772f5a46f
commit
21301017ca
|
|
@ -58,7 +58,6 @@ const JKRegistrationForm = ({ hasLabel, jamTrack, jamTrackArtistName }) => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const addJamTrackToCart = async () => {
|
const addJamTrackToCart = async () => {
|
||||||
try{
|
try{
|
||||||
console.log('_DEBUG_ going to jamTrack to cart', jamTrack);
|
|
||||||
await addToCart(jamTrack);
|
await addToCart(jamTrack);
|
||||||
}catch(error){
|
}catch(error){
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
@ -128,7 +127,17 @@ const JKRegistrationForm = ({ hasLabel, jamTrack, jamTrackArtistName }) => {
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
<div className='mt-2'>{t('signupForm.passwordRequirements')}</div>
|
<div className='mt-2'>{t('signupForm.passwordRequirements')}</div>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
{/* </div> */}
|
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
debug:
|
||||||
|
<br />
|
||||||
|
REACT_APP_RECAPTCHA_ENABLED: {process.env.REACT_APP_RECAPTCHA_ENABLED }
|
||||||
|
<br />
|
||||||
|
capchaToken: {capchaToken}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
{process.env.REACT_APP_RECAPTCHA_ENABLED === 'true' && (
|
{process.env.REACT_APP_RECAPTCHA_ENABLED === 'true' && (
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<ReCAPTCHA
|
<ReCAPTCHA
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue