diff options
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r-- | modules/auth/org.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go index b9b3f981e1..d6c26b6336 100644 --- a/modules/auth/org.go +++ b/modules/auth/org.go @@ -5,6 +5,8 @@ package auth import ( + "code.gitea.io/gitea/models" + "github.com/go-macaron/binding" "gopkg.in/macaron.v1" ) @@ -53,6 +55,7 @@ type CreateTeamForm struct { TeamName string `binding:"Required;AlphaDashDot;MaxSize(30)"` Description string `binding:"MaxSize(255)"` Permission string + Units []models.UnitType } // Validate validates the fields |