user password reset url changed + twilio settings moved to system settings

This commit is contained in:
vfedosevich 2015-04-27 05:57:55 -07:00
parent eb59ecf9c1
commit 6fbc5bd2f9
13 changed files with 244 additions and 50 deletions

View file

@ -2616,7 +2616,9 @@ namespace WebsitePanel.EnterpriseServer
items["AccountDomain"] = account.PrimaryEmailAddress.Substring(account.PrimaryEmailAddress.IndexOf("@") + 1);
items["DefaultDomain"] = org.DefaultDomain;
var passwordResetUrl = OrganizationController.GenerateUserPasswordResetLink(account.ItemId, account.AccountId);
Guid token;
var passwordResetUrl = OrganizationController.GenerateUserPasswordResetLink(account.ItemId, account.AccountId,out token);
if (!string.IsNullOrEmpty(passwordResetUrl))
{
items["PswResetUrl"] = passwordResetUrl;