Test.EIImageViewer
he 2022-03-31 09:26:36 +08:00
parent 7514bf8d08
commit 76eef54834
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ namespace IRaCIS.Core.IdentityServer4.Account
var a = "/connect/authorize/callback?client_id=spa&redirect_uri=http%3A%2F%2Flocalhost%3A8081%2Fcallback.html&response_type=code&scope=openid%20%20profile&state=05d78e28fabf4af889f408123cfd6109&code_challenge=DmFSo8DgWoL7J9rT5BLPHwIWeAKJWKGR_ZYmxCaWmEw&code_challenge_method=S256&display=popup";
var context = await _interaction.GetAuthorizationContextAsync(request.ReturnUrl);
var user = _userRepository
.FirstOrDefault(usr => usr.Password == request.Password && usr.UserName == request.UserName);
var user = await _userRepository
.FirstOrDefaultAsync(usr => usr.Password == request.Password && usr.UserName == request.UserName);
if (user != null && context != null)
{