From c84b09750d2ea48d27684dbe570b5318abf34193 Mon Sep 17 00:00:00 2001 From: vfedosevich Date: Mon, 20 Apr 2015 06:13:29 -0700 Subject: [PATCH] password field fix --- .../HostedSolution/OrganizationController.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs index 15ca5e96..0a0cd978 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs @@ -1793,12 +1793,12 @@ namespace WebsitePanel.EnterpriseServer passwordSettings = new OrganizationPasswordSettings { - MinimumLength = Utils.ParseInt(parts[1], 0), - MaximumLength = Utils.ParseInt(parts[2], 0), - UppercaseLettersCount = Utils.ParseInt(parts[3], 0), - NumbersCount = Utils.ParseInt(parts[4], 0), - SymbolsCount = Utils.ParseInt(parts[5], 0), - AccountLockoutThreshold = Utils.ParseInt(parts[7], 0), + MinimumLength = GetValueSafe(parts, 1, 0), + MaximumLength = GetValueSafe(parts, 2, 0), + UppercaseLettersCount = GetValueSafe(parts, 3, 0), + NumbersCount = GetValueSafe(parts, 4, 0), + SymbolsCount = GetValueSafe(parts, 5, 0), + AccountLockoutThreshold = GetValueSafe(parts, 7, 0), EnforcePasswordHistory = GetValueSafe(parts, 8, 0), AccountLockoutDuration = GetValueSafe(parts, 9, 0),