recaptcha translated
This commit is contained in:
parent
0451397a8e
commit
081c6ba912
2 changed files with 2 additions and 1 deletions
|
@ -237,6 +237,7 @@ router.get('/:cid', passport.csrfProtection, (req, res, next) => {
|
|||
data.defaultPostaddress = configItems.defaultPostaddress;
|
||||
data.captchaEnabled = data.captchaEnabled && !!configItems.recaptchaSiteKey && !!configItems.recaptchaSecretKey;
|
||||
data.recaptchaSiteKey = configItems.recaptchaSiteKey;
|
||||
data.language = config.language;
|
||||
|
||||
data.template = {
|
||||
template: 'subscription/web-subscribe.mjml.hbs',
|
||||
|
|
|
@ -28,5 +28,5 @@
|
|||
<script src="/moment/moment.min.js"></script>
|
||||
<script src="/moment/moment-timezone-with-data.min.js"></script>
|
||||
{{#if captchaEnabled}}
|
||||
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
|
||||
<script src="https://www.google.com/recaptcha/api.js?hl={{language}}" async defer></script>
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in a new issue