mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Upgrade chi to v5 (#17298)
This commit is contained in:
4
vendor/gitea.com/go-chi/captcha/captcha.go
generated
vendored
4
vendor/gitea.com/go-chi/captcha/captcha.go
generated
vendored
@@ -13,7 +13,7 @@
|
||||
// License for the specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
// Package captcha a middleware that provides captcha service for Macaron.
|
||||
// Package captcha a middleware that provides captcha service for chi.
|
||||
package captcha
|
||||
|
||||
import (
|
||||
@@ -202,7 +202,7 @@ func NewCaptcha(opts ...Options) *Captcha {
|
||||
}
|
||||
}
|
||||
|
||||
// Captchaer is a middleware that maps a captcha.Captcha service into the Macaron handler chain.
|
||||
// Captchaer is a middleware that maps a captcha.Captcha service into the chi handler chain.
|
||||
// An single variadic captcha.Options struct can be optionally provided to configure.
|
||||
// This should be register after cache.Cacher.
|
||||
func Captchaer(cpt *Captcha) func(http.Handler) http.Handler {
|
||||
|
Reference in New Issue
Block a user