Removed passing of expiration time to HTTP handlers.
This commit is contained in:
parent
7a7c3107d8
commit
e30c3663d4
@ -30,7 +30,7 @@ func main() {
|
||||
|
||||
captcha.Init(*captchaExpire)
|
||||
|
||||
hand := handlers.New(*captchaExpire)
|
||||
hand := handlers.New()
|
||||
srv := server.NewHttpServer()
|
||||
|
||||
srv.GET("/", hand.New)
|
||||
|
Loading…
Reference in New Issue
Block a user