Invalid components are displayed in ComponentsManagerDlg (up/down bug fixed), etc.

This commit is contained in:
Milan Hanajik
2017-03-18 16:46:03 +01:00
parent 861aae753e
commit dbfc06960f
5 changed files with 50 additions and 38 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
///
/// Copyright (c) 2016 Sensus Metering Systems
/// Copyright (c) 2016-2017 Sensus Metering Systems
///
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using System.Diagnostics;
using log4net;
namespace Users.Entities
@@ -117,7 +116,7 @@ namespace Users.Entities
/// <returns>true = authorized</returns>
public virtual bool Authorize(string userName, string password, Grp.GID requiredGroupMembership)
{
if (Entities.User.IsPowerUser(userName, password))
if (IsPowerUser(userName, password))
{
GlobalData.CurrentUser = this;
GlobalData.LastAuthorization = DateTime.Now;