update 前端加入RSA非对称加密,后端暂时关闭加密

This commit is contained in:
2021-05-13 00:07:42 +08:00
parent 88fa93f87e
commit 1eea4dfa85
5 changed files with 21 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ namespace Ewide.Core.Service
[AllowAnonymous]
public async Task<string> LoginAsync([Required] LoginInput input)
{
string pwd = RSAHandler.RSADecrypt(input.Password);
var pwd = input.Password; // RSAHandler.RSADecrypt(input.Password);
// 获取加密后的密码
var encryptPasswod = MD5Encryption.Encrypt(pwd);