Просмотр исходного кода

change wording on recaptcha to JLM's option

Henry Oswald 8 лет назад
Родитель
Сommit
b387ca3b2a
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      services/web/app/coffee/Features/Captcha/CaptchaMiddleware.coffee

+ 3 - 1
services/web/app/coffee/Features/Captcha/CaptchaMiddleware.coffee

@@ -16,6 +16,8 @@ module.exports = CaptchaMiddleware =
 			return next(error) if error?
 			if !body?.success
 				logger.warn {statusCode: response.statusCode, body: body}, 'failed recaptcha siteverify request'
-				return res.status(400).send({errorReason:"cannot_verify_user_not_robot", message:{text:"We could not verifiy you are not a robot. Please check Google is not blocked by firewall or adblocker."}})
+				return res.status(400).send({errorReason:"cannot_verify_user_not_robot", message:
+					{text:"Sorry, we could not verify that you are not a robot. Please check that Google reCAPTCHA is not being blocked by an ad or script blocker or firewall."}
+				})
 			else
 				return next()