blob: ea0c0c694a070a5893ae9c7be44a4fb95039699b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
AT.prototype.atReCaptchaRendered = function() {
$.getScript('//www.google.com/recaptcha/api.js?hl=' + T9n.getLanguage());
};
AT.prototype.atReCaptchaHelpers = {
key: function() {
if (AccountsTemplates.options.reCaptcha && AccountsTemplates.options.reCaptcha.siteKey)
return AccountsTemplates.options.reCaptcha.siteKey;
return Meteor.settings.public.reCaptcha.siteKey;
},
theme: function() {
return AccountsTemplates.options.reCaptcha && AccountsTemplates.options.reCaptcha.theme;
},
data_type: function() {
return AccountsTemplates.options.reCaptcha && AccountsTemplates.options.reCaptcha.data_type;
},
};
|