Fixed: Ensure users are not able to update their subscriber number themselves

This commit is contained in:
robvde 2012-09-25 14:02:51 +04:00
parent 2775dbcb1f
commit b424c73762
2 changed files with 8 additions and 1 deletions

View file

@ -43,6 +43,13 @@ namespace WebsitePanel.Portal
if (PortalUtils.GetHideDemoCheckbox()) rowDemo.Visible = false;
}
if (PanelSecurity.LoggedUser.Role == UserRole.User)
{
txtSubscriberNumber.ReadOnly = true;
}
}
private void BindUser()