mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:13:26 +08:00
【优化】移除后台登录默认记录账号密码功能。
【修复】修复前端提交数据可能存在风险的校验。
This commit is contained in:
@@ -41,7 +41,7 @@ namespace CoreCms.Net.Auth
|
||||
|
||||
#region 参数
|
||||
//读取配置文件
|
||||
var symmetricKeyAsBase64 = AppSettingsConstVars.JwtConfigSecretKey;
|
||||
var symmetricKeyAsBase64 = AppSettingsHelper.GetMachineRandomKey(AppSettingsConstVars.JwtConfigSecretKey);
|
||||
var keyByteArray = Encoding.ASCII.GetBytes(symmetricKeyAsBase64);
|
||||
var signingKey = new SymmetricSecurityKey(keyByteArray);
|
||||
var issuer = AppSettingsConstVars.JwtConfigIssuer;
|
||||
|
||||
Reference in New Issue
Block a user