mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-08 10:24:44 +08:00
routine update
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user