Invalid components are displayed in ComponentsManagerDlg (up/down bug fixed), etc.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user