summaryrefslogtreecommitdiffstats
path: root/modules/auth/org.go
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-03-14 20:52:01 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-15 08:52:01 +0800
commit021904e4e65804baa67b38e193e15aa37a391c60 (patch)
tree5c4f74764048eadd39a51c1b27e9c4937a0d236b /modules/auth/org.go
parentec0ae5d50c59315a3c597b1cf24d4c5508c718e5 (diff)
downloadgitea-021904e4e65804baa67b38e193e15aa37a391c60.tar.gz
gitea-021904e4e65804baa67b38e193e15aa37a391c60.zip
Fix typos in models/ and modules/ (#1248)
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r--modules/auth/org.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go
index 26740f8a25..8ad2ca6c6a 100644
--- a/modules/auth/org.go
+++ b/modules/auth/org.go
@@ -21,7 +21,7 @@ type CreateOrgForm struct {
OrgName string `binding:"Required;AlphaDashDot;MaxSize(35)" locale:"org.org_name_holder"`
}
-// Validate valideates the fields
+// Validate validates the fields
func (f *CreateOrgForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
return validate(errs, ctx.Data, f, ctx.Locale)
}
@@ -36,7 +36,7 @@ type UpdateOrgSettingForm struct {
MaxRepoCreation int
}
-// Validate valideates the fields
+// Validate validates the fields
func (f *UpdateOrgSettingForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
return validate(errs, ctx.Data, f, ctx.Locale)
}
@@ -55,7 +55,7 @@ type CreateTeamForm struct {
Permission string
}
-// Validate valideates the fields
+// Validate validates the fields
func (f *CreateTeamForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
return validate(errs, ctx.Data, f, ctx.Locale)
}