Browse Source

Merge pull request #18384 from abpframework/auto-merge/rel-8-0/2324

Merge branch dev with rel-8.0
pull/18387/head
maliming 2 years ago
committed by GitHub
parent
commit
997a6e0663
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