mirror of
https://github.com/gogs/gogs.git
synced 2026-03-01 09:40:55 +01:00
vendor: update github.com/go-macaron/captcha
[CI SKIP]
This commit is contained in:
2
vendor/github.com/go-macaron/captcha/captcha.go
generated
vendored
2
vendor/github.com/go-macaron/captcha/captcha.go
generated
vendored
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user