Add logging for recaptcha token (#12834)

This commit is contained in:
Charles Bochet
2025-06-24 16:12:39 +02:00
committed by GitHub
parent 08f8302148
commit b8fd10e9e8

View File

@ -47,6 +47,12 @@ export const useRequestFreshCaptchaToken = () => {
action: 'submit',
})
.then((token: string) => {
// TODO remove this log once debugged
// eslint-disable-next-line no-console
console.log(
'Google Recaptcha token generated at',
new Date().toISOString(),
);
setCaptchaToken(token);
setIsRequestingCaptchaToken(false);
});