Skip to content

Commit

Permalink
fix: add missing backend validation for smtp configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Nov 28, 2024
1 parent f2bfc73 commit 78c4334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/internal/dto/app_config_dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ type AppConfigUpdateDto struct {
EmailsVerified string `json:"emailsVerified" binding:"required"`
AllowOwnAccountEdit string `json:"allowOwnAccountEdit" binding:"required"`
EmailEnabled string `json:"emailEnabled" binding:"required"`
SmtHost string `json:"smtpHost"`
SmtpPort string `json:"smtpPort"`
SmtHost string `json:"smtpHost" binding:"required"`
SmtpPort string `json:"smtpPort" binding:"required"`
SmtpFrom string `json:"smtpFrom" binding:"omitempty,email"`
SmtpUser string `json:"smtpUser"`
SmtpPassword string `json:"smtpPassword"`
Expand Down

0 comments on commit 78c4334

Please sign in to comment.