mirror of
https://github.com/cq-panda/Vue.NetCore.git
synced 2026-10-17 05:20:50 +08:00
1
This commit is contained in:
@@ -56,8 +56,8 @@ namespace VOL.System.Services
|
||||
Sys_User user = await repository.FindAsIQueryable(x => x.UserName == loginInfo.UserName)
|
||||
.FirstOrDefaultAsync();
|
||||
|
||||
//if (user == null || loginInfo.Password.Trim().EncryptDES(AppSetting.Secret.User) != (user.UserPwd ?? ""))
|
||||
// return webResponse.Error(ResponseType.LoginError);
|
||||
if (user == null || loginInfo.Password.Trim().EncryptDES(AppSetting.Secret.User) != (user.UserPwd ?? ""))
|
||||
return webResponse.Error(ResponseType.LoginError);
|
||||
|
||||
string token = JwtHelper.IssueJwt(new UserInfo()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user