1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

fix migrate API

This commit is contained in:
Unknwon
2015-09-03 06:17:33 -04:00
parent 8481adb255
commit e5b105e513
3 changed files with 9 additions and 20 deletions

View File

@@ -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)"`
}