summaryrefslogtreecommitdiffstats
path: root/modules/auth/repo_form.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-03 06:17:33 -0400
committerUnknwon <u@gogs.io>2015-09-03 06:17:33 -0400
commite5b105e513cb8bfe728c451525d1d9fd7d0979eb (patch)
treeb9a29c91bf501ac3d2af7d4702c555cfbf295e39 /modules/auth/repo_form.go
parent8481adb255e2563cbd8dc5091e1efce8b370bcdb (diff)
downloadgitea-e5b105e513cb8bfe728c451525d1d9fd7d0979eb.tar.gz
gitea-e5b105e513cb8bfe728c451525d1d9fd7d0979eb.zip
fix migrate API
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r--modules/auth/repo_form.go2
1 files changed, 1 insertions, 1 deletions
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)"`
}