UI plumbing change UPN

Fixed: ExchangeAccount Password stored unencrypted when setting primary email
address
This commit is contained in:
robvde 2012-11-23 18:42:11 +04:00
parent 95d0623ce3
commit 8a4159a0ff
9 changed files with 75 additions and 35 deletions

View file

@ -1735,7 +1735,7 @@ namespace WebsitePanel.EnterpriseServer
if (!String.IsNullOrEmpty(password))
account.AccountPassword = CryptoUtils.Encrypt(password);
else
account.AccountPassword = string.Empty;
account.AccountPassword = null;
UpdateAccount(account);