Merge pull request #128 from piotrantosik/master

Don't cache captcha image
This commit is contained in:
Grégoire Passault 2015-05-22 18:00:07 +02:00
commit 4aba359e71
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,7 @@
-
{% else %}
{% spaceless %}
<img id="{{ image_id }}" src="{{ captcha_code }}" alt="" title="captcha" width="{{ captcha_width }}" height="{{ captcha_height }}" />
<img id="{{ image_id }}" src="{{ captcha_code }}?n={{ 'now'|date('U') }}" alt="" title="captcha" width="{{ captcha_width }}" height="{{ captcha_height }}" />
{% if reload %}
<script type="text/javascript">
function reload_{{ image_id }}() {
@ -17,4 +17,3 @@
{% endspaceless %}
{% endif %}
{% endblock %}