mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
This commit is contained in:
@@ -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"`
|
||||
|
Reference in New Issue
Block a user