Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
use a 20 second captcha timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
postables committed Apr 15, 2020
1 parent 3287b62 commit d48cf3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v2/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func Initialize(
}
api.version = version
if api.getCaptchaKey() != "" {
captcha, err := recaptcha.NewReCAPTCHA(api.getCaptchaKey(), recaptcha.V3, time.Second*10)
captcha, err := recaptcha.NewReCAPTCHA(api.getCaptchaKey(), recaptcha.V3, time.Second*20)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit d48cf3f

Please sign in to comment.