Commit 95182a5b authored by Jérome Perrin's avatar Jérome Perrin

CaptchasDotNet: don't make the captcha image a link to captcha.net

This is horrible user experience on mobile, user can accidentally touch the
image and then get redirected to captcha.net website which is generally not
useful. As far as a I understand their conditions of use, they don't require
use to make a link to their website.
parent dbf9cdd0
......@@ -85,10 +85,9 @@ class CaptchasDotNet:
def image (self, random, id = 'captchas.net'):
return '''
<a href="http://captchas.net"><img
class="captchas_dot_net"
<img class="captchas_dot_net"
id="%(id)s" src="%(source)s" width="%(width)d" height="%(height)d"
alt="The CAPTCHA image" /></a>
alt="The CAPTCHA image" />
<script type="text/javascript">
<!--
function captchas_image_error (image)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment