]> git.ipfire.org Git - ipfire-2.x.git/commit
BUG10965: only write auth.conf if username/password are set
authorAlexander Marx <alexander.marx@ipfire.org>
Sat, 31 Oct 2015 06:34:56 +0000 (07:34 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Nov 2015 15:34:28 +0000 (15:34 +0000)
commit4bfec109e7ed1856c8f39de83bb8d213e9ba13a4
tree47826aaab9b9f1b176c7d8c4395561555fcff45c
parent63cbd2c1df71e246a51b614a2549869168399b10
BUG10965: only write auth.conf if username/password are set

auth.conf was always written, even if no username/password provided.
In this case only the ip or Hostname of the mailserver was written into
auth.conf. Now the file is only filled if username/password are filled.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
Tested-by: Timo Eissler <timo.eissler@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/mail.cgi