index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
auth
/
repo_form.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
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
)
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 c771dd59..2902a92f 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"`