Fixing callout to hcaptcha verify page
Jenkins Production Deployment

This commit is contained in:
Paddy committed 2022-01-12 21:32:23 +01:00
1 parent 924d16a1a4
commit 9c234e6994
3 files changed
+5 -11

No files matched your search

@@ -127,7 +127,8 @@ climbingGymRouter.post('/', async (req: Request, res: Response) => {
}
// Verify captcha
if (!await verifyCaptcha(captcha_token)) {
let success = await verifyCaptcha(captcha_token);
if (!success) {
res.status(403).send({'message': 'Invalid Captcha. Please try again.'});
return;
}