diff options
Diffstat (limited to 'modules/auth/repo.go')
-rw-r--r-- | modules/auth/repo.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/auth/repo.go b/modules/auth/repo.go index d769664649..5fe091d62f 100644 --- a/modules/auth/repo.go +++ b/modules/auth/repo.go @@ -56,6 +56,12 @@ 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"` +} + func RepoAssignment(redirect bool) martini.Handler { return func(params martini.Params, r render.Render, data base.TmplData, session sessions.Session) { // assign false first |