mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-07 13:17:57 -05:00
allow less attributes
This commit is contained in:
parent
c35b9ca457
commit
8e913325a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user