mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-23 04:41:17 -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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(data.Attributes) < 3 {
|
if len(data.Attributes) < 1 {
|
||||||
log.Error().Msgf("Invalid number of attributes: %v", len(data.Attributes))
|
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)
|
c.Redirect("/request/service?error=You%20must%20select%20at%20least%203%20attributes", iris.StatusSeeOther)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user