Add reCAPTCHA

This commit is contained in:
Amauri CHAMPEAUX 2018-05-25 23:49:34 +02:00 committed by GitHub
parent 65f6af288b
commit bc451eb573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -973,6 +973,20 @@ tarteaucitron.services.jsapi = {
}
};
// recaptcha
tarteaucitron.services.recaptcha = {
"key": "recaptcha",
"type": "api",
"name": "reCAPTCHA",
"uri": "http://www.google.com/policies/privacy/",
"needConsent": true,
"cookies": ['nid'],
"js": function () {
"use strict";
tarteaucitron.addScript('https://www.google.com/recaptcha/api.js');
}
};
// linkedin
tarteaucitron.services.linkedin = {
"key": "linkedin",