From 901807782e75c303afea05c00e8f9e835af1a391 Mon Sep 17 00:00:00 2001 From: "tobias.petersen" Date: Fri, 5 Jul 2024 10:41:39 +0200 Subject: [PATCH] Fix: Allow org team names of length 255 in create team form --- services/forms/org.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/forms/org.go b/services/forms/org.go index 3677fcf429b55..db182f7e96b5b 100644 --- a/services/forms/org.go +++ b/services/forms/org.go @@ -62,7 +62,7 @@ func (f *UpdateOrgSettingForm) Validate(req *http.Request, errs binding.Errors) // CreateTeamForm form for creating team type CreateTeamForm struct { - TeamName string `binding:"Required;AlphaDashDot;MaxSize(30)"` + TeamName string `binding:"Required;AlphaDashDot;MaxSize(255)"` Description string `binding:"MaxSize(255)"` Permission string RepoAccess string