diff --git a/src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs b/src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs index 1d6e7b1ee48..9c1a4ee23fd 100644 --- a/src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs +++ b/src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs @@ -403,7 +403,7 @@ public virtual async ValueTask RevokeByAuthorizationIdAsync(string identif { token.Status = Statuses.Revoked; - _session.Save(token, checkConcurrency: false, collection: OpenIdCollection); + await _session.SaveAsync(token, checkConcurrency: false, collection: OpenIdCollection); } await _session.SaveChangesAsync();