From b9560374cd9d06b9009eb48ef0f0cefe04a4daed Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 13 Sep 2014 22:12:11 -0400 Subject: UI fix --- modules/auth/repo_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 52f6c6554f..233f7b1063 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"` -- cgit v1.2.3