diff options
author | Unknwon <u@gogs.io> | 2015-03-20 01:58:28 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-20 01:58:28 -0400 |
commit | 62e436e6b7a41bac2e17a26f08649c144cef5b57 (patch) | |
tree | 379be1b74989d5be2aacc68753b0d3d12597d400 /modules/auth/repo_form.go | |
parent | 4b9fb43a708d0aaaf710a060f7b2dd0b7ad959d0 (diff) | |
parent | e312634286e68d8fac4d20adb729661f8a444b2a (diff) |
Merge branch 'develop' of github.com:gogits/gogs into release/0.6.1
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r-- | modules/auth/repo_form.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 2902a92f..a0928301 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -32,13 +32,13 @@ func (f *CreateRepoForm) Validate(ctx *macaron.Context, errs binding.Errors) bin type MigrateRepoForm struct { CloneAddr string `binding:"Required"` - AuthUserName string `form:"auth_username"` - AuthPasswd string `form:"auth_password"` - Uid int64 `form:"uid" binding:"Required"` - RepoName string `form:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"` - Mirror bool `form:"mirror"` - Private bool `form:"private"` - Description string `form:"desc" binding:"MaxSize(255)"` + AuthUsername string + AuthPassword string + Uid int64 `binding:"Required"` + RepoName string `binding:"Required;AlphaDashDot;MaxSize(100)"` + Mirror bool + Private bool + Description string `binding:"MaxSize(255)"` } func (f *MigrateRepoForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |