소스 검색

Merge remote-tracking branch 'upstream/next' into next

orzMaster 2 년 전
부모
커밋
1b79bc690a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs

+ 1 - 1
Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs

@@ -287,7 +287,7 @@ public class SysAuthService : IDynamicApiController, ITransient
             await Login(new LoginInput
             {
                 Account = auth.UserName,
-                Password = auth.Password
+                Password = CryptogramUtil.SM2Encrypt(auth.Password),
             });
 
             _sysCacheService.Remove(CommonConst.SysCaptcha);