summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-01 00:06:19 -0400
committerUnknwon <joe2010xtmf@163.com>2014-08-01 00:06:19 -0400
commitdabf5b057c358655d8635ed6ec8666660abeb92b (patch)
tree7f87b42eef48d6d0ac3f52bcbf856f4c5439551c /modules
parent7bbf644dd5eaca77c3e8df57419180486bda0fc2 (diff)
downloadgitea-dabf5b057c358655d8635ed6ec8666660abeb92b.tar.gz
gitea-dabf5b057c358655d8635ed6ec8666660abeb92b.zip
Finish new migrate page
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/repo_form.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index 11efb24d1c..12bf5df501 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -33,11 +33,11 @@ func (f *CreateRepoForm) Validate(ctx *macaron.Context, errs *binding.Errors, l
}
type MigrateRepoForm struct {
- Url string `form:"url" binding:"Url"`
+ HttpsUrl string `form:"url" binding:"Url"`
AuthUserName string `form:"auth_username"`
AuthPasswd string `form:"auth_password"`
Uid int64 `form:"uid" binding:"Required"`
- RepoName string `form:"repo" binding:"Required;AlphaDash;MaxSize(100)"`
+ RepoName string `form:"repo_name" binding:"Required;AlphaDash;MaxSize(100)"`
Mirror bool `form:"mirror"`
Private bool `form:"private"`
Description string `form:"desc" binding:"MaxSize(255)"`