diff --git a/conf/locale/TRANSLATORS b/conf/locale/TRANSLATORS index 135f3d7006e..7c6eb0baf17 100644 --- a/conf/locale/TRANSLATORS +++ b/conf/locale/TRANSLATORS @@ -4,6 +4,7 @@ Akihiro YAGASAKI Alexander Steinhöfer Alexandre Magno +Barış Arda Yılmaz Christoph Kisfeld Daniel Speichert Gregor Santner diff --git a/modules/auth/admin.go b/modules/auth/admin.go index a95b83de6a6..596e5d642ed 100644 --- a/modules/auth/admin.go +++ b/modules/auth/admin.go @@ -12,7 +12,7 @@ import ( type AdminEditUserForm struct { FullName string `form:"fullname" binding:"MaxSize(100)"` - Email string `binding:"Required;Email;MaxSize(50)"` + Email string `binding:"Required;Email;MaxSize(254)"` Password string `binding:"OmitEmpty;MinSize(6);MaxSize(255)"` Website string `binding:"MaxSize(50)"` Location string `binding:"MaxSize(50)"` diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index e253d60f337..424a410f079 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -59,7 +59,7 @@ func (f *InstallForm) Validate(ctx *macaron.Context, errs binding.Errors) bindin type RegisterForm struct { UserName string `form:"uname" binding:"Required;AlphaDashDot;MaxSize(35)"` - Email string `form:"email" binding:"Required;Email;MaxSize(50)"` + Email string `form:"email" binding:"Required;Email;MaxSize(254)"` Password string `form:"password" binding:"Required;MaxSize(255)"` Retype string `form:"retype"` LoginType string `form:"logintype"` @@ -71,7 +71,7 @@ func (f *RegisterForm) Validate(ctx *macaron.Context, errs binding.Errors) bindi } type SignInForm struct { - UserName string `form:"uname" binding:"Required;MaxSize(35)"` + UserName string `form:"uname" binding:"Required;MaxSize(254)"` Password string `form:"password" binding:"Required;MaxSize(255)"` Remember bool `form:"remember"` } @@ -90,10 +90,10 @@ func (f *SignInForm) Validate(ctx *macaron.Context, errs binding.Errors) binding type UpdateProfileForm struct { UserName string `form:"uname" binding:"Required;MaxSize(35)"` FullName string `form:"fullname" binding:"MaxSize(100)"` - Email string `form:"email" binding:"Required;Email;MaxSize(50)"` + Email string `form:"email" binding:"Required;Email;MaxSize(254)"` Website string `form:"website" binding:"Url;MaxSize(100)"` Location string `form:"location" binding:"MaxSize(50)"` - Avatar string `form:"avatar" binding:"Required;Email;MaxSize(50)"` + Avatar string `form:"avatar" binding:"Required;Email;MaxSize(254)"` } func (f *UpdateProfileForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { diff --git a/templates/install.tmpl b/templates/install.tmpl index 6f35211e4fd..5bf741afb0d 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -89,7 +89,7 @@
- + {{.i18n.Tr "install.domain_helper"}}
@@ -104,7 +104,7 @@
- + {{.i18n.Tr "install.app_url_helper"}}