vendor: update github.com/go-macaron/captcha

[CI SKIP]
This commit is contained in:
Unknwon
2017-03-30 12:35:43 -04:00
parent 4a67bb5806
commit aff55ff105
4 changed files with 6 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ func (c *Captcha) CreateHtml() template.HTML {
panic(fmt.Errorf("fail to create captcha: %v", err))
}
return template.HTML(fmt.Sprintf(`<input type="hidden" name="%s" value="%s">
<a class="captcha" href="javascript:">
<a class="captcha" href="javascript:" tabindex="-1">
<img onclick="this.src=('%s%s%s.png?reload='+(new Date()).getTime())" class="captcha-img" src="%s%s%s.png">
</a>`, c.FieldIdName, value, c.SubURL, c.URLPrefix, value, c.SubURL, c.URLPrefix, value))
}