|
@@ -106,7 +106,8 @@ jxrWXHbT1FB6DqkdOnBbQqS1Azqz5HxLlSyEK3F60e3SgB5iZsDZ
|
|
if (request is null)
|
|
if (request is null)
|
|
throw UserFriendlyException.SameMessage("用户名或密码错误!");
|
|
throw UserFriendlyException.SameMessage("用户名或密码错误!");
|
|
string res;
|
|
string res;
|
|
- if (_appOptions.Value.IsLuZhou)
|
|
|
|
|
|
+ if (bool.TryParse(_systemSettingCacheManager.GetSetting(SettingConstants.IsReplayCheck)?.SettingValue[0],
|
|
|
|
+ out var isReplayCheck) && isReplayCheck)
|
|
{
|
|
{
|
|
res = await _identityAppService.LoginWithSignatureAsync(request, HttpContext.RequestAborted);
|
|
res = await _identityAppService.LoginWithSignatureAsync(request, HttpContext.RequestAborted);
|
|
}
|
|
}
|