re-configure mail apps on mail fqdn change

This commit is contained in:
Girish Ramakrishnan
2020-09-08 19:34:27 -07:00
parent b9cda71413
commit d0e2df5166
2 changed files with 15 additions and 1 deletions

View File

@@ -658,7 +658,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
$location.path('/email/' + $scope.domain.domain, false);
};
// this is required because we need to rewrite the MAIL_DOMAINS env var
// this is required because we need to rewrite the CLOUDRON_MAIL_SERVER_HOST env var
$scope.reconfigureEmailApps = function () {
var installedApps = Client.getInstalledApps();
for (var i = 0; i < installedApps.length; i++) {