Skip to content

Commit

Permalink
Fix for #12. Don't require the confirmation fields
Browse files Browse the repository at this point in the history
  • Loading branch information
wneessen committed Jan 27, 2022
1 parent 885a288 commit 2893b51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions form/form.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ type Form struct {
}
Confirmation struct {
Enabled bool `fig:"enabled"`
RecipientField string `fig:"rcpt_field" validate:"required"`
Subject string `fig:"subject" validate:"required"`
Content string `fig:"content" validate:"required"`
RecipientField string `fig:"rcpt_field"`
Subject string `fig:"subject"`
Content string `fig:"content"`
}
Domains []string `fig:"domains" validate:"required"`
Id string `fig:"id" validate:"required"`
Expand Down

0 comments on commit 2893b51

Please sign in to comment.