diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-13 22:12:11 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-13 22:12:11 -0400 |
commit | b9560374cd9d06b9009eb48ef0f0cefe04a4daed (patch) | |
tree | c210dd65913b751e214ef73a21ed99fd7865fb03 /modules | |
parent | a5926f2689d3ed0e457b4bad672af58c8303e4a1 (diff) |
UI fix
Diffstat (limited to 'modules')
-rw-r--r-- | modules/auth/repo_form.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 52f6c655..233f7b10 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -33,7 +33,7 @@ func (f *CreateRepoForm) Validate(ctx *macaron.Context, errs *binding.Errors, l } type MigrateRepoForm struct { - HttpsUrl string `form:"url" binding:"Url"` + HttpsUrl string `form:"url" binding:"Required;Url"` AuthUserName string `form:"auth_username"` AuthPasswd string `form:"auth_password"` Uid int64 `form:"uid" binding:"Required"` |