user creation fix

This commit is contained in:
a.skorina 2014-11-03 14:57:17 +03:00
parent b4402e09ae
commit 64877bccc2

View file

@ -1657,6 +1657,11 @@ namespace WebsitePanel.EnterpriseServer
int maxLen = 19 - orgId.Length;
if (!string.IsNullOrEmpty(orgId))
{
orgId = orgId.TrimEnd(' ', '.');
}
// try to choose name
int i = 0;