diff options
author | Unknwon <u@gogs.io> | 2015-02-21 22:13:47 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-02-21 22:13:47 -0500 |
commit | 1654e9ecab3923b7fe5d528fc86c1a549546bd29 (patch) | |
tree | 181f3b578e7ec2dddd407f5d8cc74b9078d21dd8 /modules/auth/user_form.go | |
parent | 065f8d1f561d0529a9e9d155e1aba1255f3d1168 (diff) | |
download | gitea-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.go | 2 |
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 { |