From e5b105e513cb8bfe728c451525d1d9fd7d0979eb Mon Sep 17 00:00:00 2001 From: Unknwon <u@gogs.io> Date: Thu, 3 Sep 2015 06:17:33 -0400 Subject: fix migrate API --- modules/auth/repo_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/auth/repo_form.go') diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 03dacbf88e..4d90074386 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -35,10 +35,10 @@ type MigrateRepoForm struct { CloneAddr string `binding:"Required"` AuthUsername string AuthPassword string - Mirror bool Uid int64 `binding:"Required"` RepoName string `binding:"Required;AlphaDashDot;MaxSize(100)"` Private bool + Mirror bool Description string `binding:"MaxSize(255)"` } -- cgit v1.2.3