mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-07-04 19:46:48 -04:00
allow less attributes
This commit is contained in:
parent
c35b9ca457
commit
8e913325a1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue