diff options
author | slene <vslene@gmail.com> | 2014-03-17 14:36:28 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-03-17 14:36:28 +0800 |
commit | 3a2eee08278a71320140129ec29c8586264d9968 (patch) | |
tree | d49f49ba19b70334667eecd785482b111987fc2e /modules/auth | |
parent | d64a8e8d3aa5f1dc606860c0950a8b7dbebf944c (diff) | |
download | gitea-3a2eee08278a71320140129ec29c8586264d9968.tar.gz gitea-3a2eee08278a71320140129ec29c8586264d9968.zip |
fix repo setting and delete repo
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/repo.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/auth/repo.go b/modules/auth/repo.go index ac1b6b699b..2cc93744ce 100644 --- a/modules/auth/repo.go +++ b/modules/auth/repo.go @@ -17,7 +17,6 @@ import ( ) type CreateRepoForm struct { - UserId int64 `form:"userId"` RepoName string `form:"repo" binding:"Required;AlphaDash"` Visibility string `form:"visibility"` Description string `form:"desc" binding:"MaxSize(100)"` @@ -52,9 +51,3 @@ func (f *CreateRepoForm) Validate(errors *binding.Errors, req *http.Request, con validate(errors, data, f) } - -type DeleteRepoForm struct { - UserId int64 `form:"userId" binding:"Required"` - UserName string `form:"userName" binding:"Required"` - RepoId int64 `form:"repoId" binding:"Required"` -} |