Browse Source

Merge pull request #18383 from abpframework/auto-merge/rel-7-4/2323

Merge branch rel-8.0 with rel-7.4
pull/18384/head
maliming 3 years ago
committed by GitHub
parent
commit
a014eb9649
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/identity/src/Volo.Abp.Identity.AspNetCore/Volo/Abp/Identity/AspNetCore/SecurityStampValidatorOptionsExtensions.cs

5
modules/identity/src/Volo.Abp.Identity.AspNetCore/Volo/Abp/Identity/AspNetCore/SecurityStampValidatorOptionsExtensions.cs

@ -11,7 +11,10 @@ public static class SecurityStampValidatorOptionsExtensions
options.OnRefreshingPrincipal = async context =>
{
await SecurityStampValidatorCallback.UpdatePrincipal(context);
await previousOnRefreshingPrincipal?.Invoke(context);
if(previousOnRefreshingPrincipal != null)
{
await previousOnRefreshingPrincipal.Invoke(context);
}
};
return options;
}

Loading…
Cancel
Save