1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 07:52:41 +00:00

update notifier fields type

This commit is contained in:
XianglongLuo
2019-12-09 13:56:22 +08:00
parent b0c77ca096
commit b3b30ce395

View File

@@ -283,7 +283,7 @@ type SMTPConfig struct {
Host string `json:"host,omitempty" norman:"required,type=hostname"`
Port int `json:"port,omitempty" norman:"required,min=1,max=65535,default=587"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
Password string `json:"password,omitempty" norman:"type=password"`
Sender string `json:"sender,omitempty" norman:"required"`
DefaultRecipient string `json:"defaultRecipient,omitempty" norman:"required"`
TLS bool `json:"tls,omitempty" norman:"required,default=true"`