diff --git a/Generator/CaptchaGenerator.php b/Generator/CaptchaGenerator.php
index bf1f93b..04e424d 100644
--- a/Generator/CaptchaGenerator.php
+++ b/Generator/CaptchaGenerator.php
@@ -76,7 +76,8 @@ class CaptchaGenerator
// Returns the image generation URL
if ($options['as_url']) {
- return $this->router->generate('gregwar_captcha.generate_captcha', array('key' => $options['session_key']));
+ return $this->router->generate('gregwar_captcha.generate_captcha',
+ array('key' => $options['session_key'], 'n' => time()));
}
return 'data:image/jpeg;base64,' . base64_encode($this->generate($options));
diff --git a/Resources/views/captcha.html.twig b/Resources/views/captcha.html.twig
index b23251b..88fc5fc 100644
--- a/Resources/views/captcha.html.twig
+++ b/Resources/views/captcha.html.twig
@@ -3,7 +3,7 @@
-
{% else %}
{% spaceless %}
-
+
{% if reload %}