Odoo Captcha (No Google)
By Elico-Corp
This modules allows you to integrate a python CAPTCHA to your website forms. You can configure your CAPTCHA in "Settings" -> "Website Settings"
You will need to install and purchase the "website_captcha_nogoogle_crm" to use it in your "contact us" page. Check the documentation to integrate this captcha to your own modules.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website Builder (website)
• Social Network (mail) |
| Technical Name |
website_captcha_nogoogle |
| License | LGPL-3 |
| Website | https://www.elico-corp.com |
Odoo CAPTCHA (No Google)
Python external dependencies
To use this module you need to install the following python libraries:
- captcha
- simplecrypt
Integrate the captcha in any of your web pages
<t t-call="website_captcha_nogoogle.captcha"/>
Feel free to extend or create a new template to adapt it to your design.
Get captcha in binary format
print website.captcha
It will simply output the captcha as a binary.
You can display it in HTML as follow:
<img t-att-src="'data:image/png;base64,%s' % website.captcha" />
Check if the captcha is valid
Call the website's 'is_captcha_valid' method.
website.is_captcha_valid(crypt_challenge, response)
Please log in to comment on this module