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