fix(tools): make username, password optional in manage alerts for mail servers

main
Tsu-ba-me 12 months ago
parent 00ccddba9d
commit 7b389d0ad3
  1. 2
      tools/anvil-manage-alerts

@ -670,7 +670,7 @@ sub handle_mail_servers
{ {
# Do we have what we need? # Do we have what we need?
my $problem = 0; my $problem = 0;
foreach my $switch ("mail-server-address", "mail-server-port", "mail-server-username", "mail-server-password", "mail-server-security", "mail-server-authentication", "mail-server-helo-domain") foreach my $switch ("mail-server-address", "mail-server-port", "mail-server-security", "mail-server-authentication", "mail-server-helo-domain")
{ {
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => {
switch => $switch, switch => $switch,

Loading…
Cancel
Save