We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e72f58 commit baffa9eCopy full SHA for baffa9e
src/modules/security.js
@@ -516,7 +516,7 @@
516
name: 'recaptcha',
517
validatorFunction: function (val, $el)
518
{
519
- return grecaptcha.getResponse($el.data('validation-widget-id'));
+ return grecaptcha.getResponse($el.data('validation-recaptcha-widget-id'));
520
},
521
errorMessage: '',
522
errorMessageKey: 'badreCaptcha'
@@ -566,12 +566,12 @@
566
$el.parent().append(div);
567
568
var widget_id = grecaptcha.render(div, {
569
- sitekey: sitekey || $el.valAttr('sitekey'),
+ sitekey: sitekey || $el.valAttr('recaptcha-sitekey'),
570
theme: theme || $el.valAttr('recaptcha-theme') || 'light'
571
});
572
573
$el
574
- .data('validation-widget-id', widget_id);
+ .data('validation-recaptcha-widget-id', widget_id);
575
576
577
0 commit comments