更新wtm
This commit is contained in:
1 parent
f119665d29
commit
3467d4aa9d
60 files changed
+1932
-397
No files matched your search
@@ -4,9 +4,7 @@ using System.IdentityModel.Tokens.Jwt;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Json;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Text.RegularExpressions;
|
||||
@@ -435,7 +433,7 @@ namespace WalkingTec.Mvvm.Core
|
||||
}
|
||||
else
|
||||
{
|
||||
exist = BaseUserQuery.IgnoreQueryFilters().Any(x => x.ITCode.ToLower() == username && x.Password == Utils.GetMD5String(password) && x.TenantCode == tenant && x.IsValid==true);
|
||||
exist = BaseUserQuery.IgnoreQueryFilters().Any(x => x.ITCode.ToLower() == username.ToLower() && x.Password == Utils.GetMD5String(password) && x.TenantCode == tenant && x.IsValid==true);
|
||||
}
|
||||
if (exist == false)
|
||||
{
|
||||
@@ -839,6 +837,7 @@ params string[] groupcode)
|
||||
log.Duration = duration;
|
||||
log.ModuleName = moduleName;
|
||||
log.ActionName = actionName;
|
||||
log.ITCode = LoginUserInfo?.ITCode;
|
||||
log.Request = request;
|
||||
log.Result = result;
|
||||
log.IP = ip;
|
||||
|
||||
Reference in new issue
Block a user