Do not return password form Enterprise Service Methods
This commit is contained in:
parent
e93d354058
commit
db16c927cb
15 changed files with 129 additions and 61 deletions
|
@ -422,7 +422,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
return result;
|
||||
|
||||
// load user info
|
||||
UserInfo user = UserController.GetUser(userId);
|
||||
UserInfoInternal user = UserController.GetUser(userId);
|
||||
|
||||
if (createFtpAccount)
|
||||
{
|
||||
|
@ -2086,7 +2086,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
items["user"] = user;
|
||||
|
||||
// get reseller details
|
||||
UserInfo reseller = UserController.GetUser(user.OwnerId);
|
||||
UserInfoInternal reseller = UserController.GetUser(user.OwnerId);
|
||||
if (reseller != null)
|
||||
{
|
||||
reseller.Password = "";
|
||||
|
@ -2123,7 +2123,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
items["user"] = user;
|
||||
|
||||
// get reseller details
|
||||
UserInfo reseller = UserController.GetUser(user.OwnerId);
|
||||
UserInfoInternal reseller = UserController.GetUser(user.OwnerId);
|
||||
if (reseller != null)
|
||||
{
|
||||
reseller.Password = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue