Make replyToAddress optional
[ZITADOPER-1]
This commit is contained in:
@@ -42,7 +42,7 @@ type SMTPConfig struct {
|
||||
Host string `json:"host"`
|
||||
User *string `json:"user,omitempty"`
|
||||
Password *Password `json:"password,omitempty"`
|
||||
ReplyToAddress string `json:"replyToAddress"`
|
||||
ReplyToAddress *string `json:"replyToAddress,omitempty"`
|
||||
}
|
||||
|
||||
type DomainSettings struct {
|
||||
|
||||
@@ -668,6 +668,11 @@ func (in *SMTPConfig) DeepCopyInto(out *SMTPConfig) {
|
||||
*out = new(Password)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.ReplyToAddress != nil {
|
||||
in, out := &in.ReplyToAddress, &out.ReplyToAddress
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMTPConfig.
|
||||
|
||||
Reference in New Issue
Block a user