Save additional domain codes

This commit is contained in:
Bob Mottram 2016-11-12 13:26:15 +00:00
parent ebb4be387a
commit 6408c20b0c
1 changed files with 4 additions and 0 deletions

View File

@ -216,6 +216,8 @@ function choose_default_domain_name {
if [ ! $VALID_CODE ]; then
DEFAULT_DOMAIN_NAME=
EMAIL_DOMAIN_CODE=
else
write_config_param "EMAIL_DOMAIN_CODE" "$EMAIL_DOMAIN_CODE"
fi
fi
if [ $XMPP_DOMAIN_CODE ]; then
@ -223,6 +225,8 @@ function choose_default_domain_name {
if [ ! $VALID_CODE ]; then
DEFAULT_DOMAIN_NAME=
XMPP_DOMAIN_CODE=
else
write_config_param "XMPP_DOMAIN_CODE" "$XMPP_DOMAIN_CODE"
fi
fi
else