]> git.ipfire.org Git - people/amarx/ipfire-2.x.git/commit
BUG10965: only write auth.conf if username/password are set BUG10965
authorAlexander Marx <alexander.marx@ipfire.org>
Sat, 31 Oct 2015 06:33:09 +0000 (07:33 +0100)
committerAlexander Marx <alexander.marx@ipfire.org>
Sat, 31 Oct 2015 06:33:09 +0000 (07:33 +0100)
commitf169146c834e89a61b284d45fb75e39cef58e055
treeea78375a90d6c5e1894bbbbecf8aed4d3d5051dc
parentc98981ae3d23db0270f43ed4647cfc10ad89b697
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>
html/cgi-bin/mail.cgi