1
0
Fork 0
forked from forgejo/forgejo
* Fix typo of MSSQL

* Fix typo: validates
This commit is contained in:
successgo 2020-06-05 22:34:23 +08:00 committed by GitHub
parent 5acba4609a
commit fa1c958f1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 14 deletions

View file

@ -15,7 +15,7 @@ type SignInOpenIDForm struct {
Remember bool
}
// Validate valideates the fields
// Validate validates the fields
func (f *SignInOpenIDForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
return validate(errs, ctx.Data, f, ctx.Locale)
}
@ -27,7 +27,7 @@ type SignUpOpenIDForm struct {
GRecaptchaResponse string `form:"g-recaptcha-response"`
}
// Validate valideates the fields
// Validate validates the fields
func (f *SignUpOpenIDForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
return validate(errs, ctx.Data, f, ctx.Locale)
}
@ -38,7 +38,7 @@ type ConnectOpenIDForm struct {
Password string `binding:"Required;MaxSize(255)"`
}
// Validate valideates the fields
// Validate validates the fields
func (f *ConnectOpenIDForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
return validate(errs, ctx.Data, f, ctx.Locale)
}