allow less attributes

This commit is contained in:
pluja 2024-02-25 18:10:43 +01:00
parent c35b9ca457
commit 8e913325a1
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ func (s *Server) handlePostRequestServiceForm(c iris.Context) {
return
}
if len(data.Attributes) < 3 {
if len(data.Attributes) < 1 {
log.Error().Msgf("Invalid number of attributes: %v", len(data.Attributes))
c.Redirect("/request/service?error=You%20must%20select%20at%20least%203%20attributes", iris.StatusSeeOther)
return