aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/repo.go')
-rw-r--r--modules/auth/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/repo.go b/modules/auth/repo.go
index 999f33fe..db13743d 100644
--- a/modules/auth/repo.go
+++ b/modules/auth/repo.go
@@ -48,6 +48,7 @@ type MigrateRepoForm struct {
Url 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)"`
Mirror bool `form:"mirror"`
Private bool `form:"private"`