fix #4580 - add logout everywhere support using SecurityStamp
This commit is contained in:
@ -10,6 +10,7 @@ using System;
|
||||
using Oqtane.Infrastructure;
|
||||
using Oqtane.Extensions;
|
||||
using Oqtane.Managers;
|
||||
using System.Security.Claims;
|
||||
|
||||
namespace Oqtane.Providers
|
||||
{
|
||||
@ -41,6 +42,8 @@ namespace Oqtane.Providers
|
||||
else
|
||||
{
|
||||
return true;
|
||||
//var principalStamp = authState.User.FindFirstValue(options.Value.ClaimsIdentity.SecurityStampClaimType);
|
||||
//return principalStamp == user.SecurityStamp;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user