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

[CI SKIP]
master
Unknwon 2017-03-30 12:35:43 -04:00
parent 4a67bb5806
commit aff55ff105
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
4 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ The goal of this project is to make the easiest, fastest, and most painless way
- Gravatar and Federated avatar with custom source
- Mail service
- Administration panel
- Supports MySQL, PostgreSQL, SQLite3, MSSQL and [TiDB](https://github.com/pingcap/tidb) (experimental)
- Supports MySQL, PostgreSQL, SQLite3, MSSQL and [TiDB](https://github.com/pingcap/tidb) (via MySQL protocol)
- Multi-language support ([23 languages](https://crowdin.com/project/gogs))
## Hardware Requirements

View File

@ -31,7 +31,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
- 支持 Jupyter Notebook
- 支持邮件服务
- 支持后台管理面板
- 支持 MySQL、PostgreSQL、SQLite3、MSSQL 和 [TiDB](https://github.com/pingcap/tidb)实验性支持) 数据库
- 支持 MySQL、PostgreSQL、SQLite3、MSSQL 和 [TiDB](https://github.com/pingcap/tidb)通过 MySQL 协议)数据库
- 支持多语言本地化([23 种语言]([more](https://crowdin.com/project/gogs))
## 硬件要求

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))
}

6
vendor/vendor.json vendored
View File

@ -75,10 +75,10 @@
"revisionTime": "2015-10-13T08:11:02Z"
},
{
"checksumSHA1": "ifjG+PNGY7+sNm3WoA3UntmUTa4=",
"checksumSHA1": "kWnClaQsy/2YLvx2SrSUGgSyhzk=",
"path": "github.com/go-macaron/captcha",
"revision": "8aa5919789ab301e865595eb4b1114d6b9847deb",
"revisionTime": "2015-11-23T22:51:53Z"
"revision": "a9d45b762e2537878323cd8a4147644378f09be1",
"revisionTime": "2017-03-28T22:26:02Z"
},
{
"checksumSHA1": "i52HJHpyI3avut3QAIrrD0h7gmY=",