Explorar o código

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

orzMaster %!s(int64=2) %!d(string=hai) anos
pai
achega
1b79bc690a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);