don't cache captcha image
This commit is contained in:
parent
c221d9cb42
commit
8c39274fa4
|
@ -3,7 +3,7 @@
|
||||||
-
|
-
|
||||||
{% else %}
|
{% else %}
|
||||||
{% spaceless %}
|
{% 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 %}
|
{% if reload %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function reload_{{ image_id }}() {
|
function reload_{{ image_id }}() {
|
||||||
|
@ -17,4 +17,3 @@
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue