summaryrefslogtreecommitdiffstats
path: root/modules/auth/user_form.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-02-21 22:13:47 -0500
committerUnknwon <u@gogs.io>2015-02-21 22:13:47 -0500
commit1654e9ecab3923b7fe5d528fc86c1a549546bd29 (patch)
tree181f3b578e7ec2dddd407f5d8cc74b9078d21dd8 /modules/auth/user_form.go
parent065f8d1f561d0529a9e9d155e1aba1255f3d1168 (diff)
downloadgitea-1654e9ecab3923b7fe5d528fc86c1a549546bd29.tar.gz
gitea-1654e9ecab3923b7fe5d528fc86c1a549546bd29.zip
templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format - conf/locale: update French locale
Diffstat (limited to 'modules/auth/user_form.go')
-rw-r--r--modules/auth/user_form.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go
index 3c0ff65174..b616a460ff 100644
--- a/modules/auth/user_form.go
+++ b/modules/auth/user_form.go
@@ -99,7 +99,7 @@ func (f *UploadAvatarForm) Validate(ctx *macaron.Context, errs binding.Errors) b
}
type AddEmailForm struct {
- Email string `form:"email" binding:"Required;Email;MaxSize(50)"`
+ Email string `binding:"Required;Email;MaxSize(50)"`
}
func (f *AddEmailForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {