routine update

This commit is contained in:
yubaolee
2024-12-13 09:48:07 +08:00
parent fdce44ec99
commit fb84a34b0e
4 changed files with 22 additions and 22 deletions

View File

@@ -58,7 +58,7 @@ namespace OpenAuth.App.SSO
{
if (_appConfiguration.Value.IsIdentityAuth)
{
return (!string.IsNullOrEmpty(_httpContextAccessor.HttpContext.User.Identity.Name));
return !string.IsNullOrEmpty(_httpContextAccessor.HttpContext.User.Identity.Name);
}
if (string.IsNullOrEmpty(token))