mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Remember to enable SMTP after configuring it (#882)
This commit is contained in:
parent
5eb926c891
commit
2371f58705
1 changed files with 2 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ func (svc service) ModifyAppConfig(ctx context.Context, p kolide.AppConfigPayloa
|
|||
message: err.Error(),
|
||||
}
|
||||
}
|
||||
newConfig.SMTPConfigured = (err == nil)
|
||||
newConfig.SMTPConfigured = true
|
||||
newConfig.SMTPEnabled = true
|
||||
|
||||
// if testing is indicated we don't persist anything, otherwise
|
||||
// email is marked as unconfigured
|
||||
|
|
|
|||
Loading…
Reference in a new issue