diff options
author | Unknwon <u@gogs.io> | 2015-02-22 09:49:25 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-02-22 09:49:25 -0500 |
commit | 059338139ca4a70cb1138dc09039abb5dac0d0f2 (patch) | |
tree | 4b80829314df3b9f7e21b67ccf5fc30146f0c4e4 /modules/auth/repo_form.go | |
parent | c753fdceaf0549aa865cff4e1f42be5d907bbdb1 (diff) | |
download | gitea-059338139ca4a70cb1138dc09039abb5dac0d0f2.tar.gz gitea-059338139ca4a70cb1138dc09039abb5dac0d0f2.zip |
routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r-- | modules/auth/repo_form.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index c771dd59b8..2902a92f2e 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -31,7 +31,7 @@ func (f *CreateRepoForm) Validate(ctx *macaron.Context, errs binding.Errors) bin } type MigrateRepoForm struct { - HttpsUrl string `form:"url" binding:"Required;Url"` + CloneAddr string `binding:"Required"` AuthUserName string `form:"auth_username"` AuthPasswd string `form:"auth_password"` Uid int64 `form:"uid" binding:"Required"` |