From d56c64c12f3a8aae65aea4fa0aac1a8997104c6b Mon Sep 17 00:00:00 2001 From: maliming Date: Tue, 3 Oct 2023 16:42:54 +0800 Subject: [PATCH] Remove `ISystemClock` because its obsoleted. --- .../Volo/Abp/Identity/AspNetCore/AbpSecurityStampValidator.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/identity/src/Volo.Abp.Identity.AspNetCore/Volo/Abp/Identity/AspNetCore/AbpSecurityStampValidator.cs b/modules/identity/src/Volo.Abp.Identity.AspNetCore/Volo/Abp/Identity/AspNetCore/AbpSecurityStampValidator.cs index d62c33992a..2c45b63357 100644 --- a/modules/identity/src/Volo.Abp.Identity.AspNetCore/Volo/Abp/Identity/AspNetCore/AbpSecurityStampValidator.cs +++ b/modules/identity/src/Volo.Abp.Identity.AspNetCore/Volo/Abp/Identity/AspNetCore/AbpSecurityStampValidator.cs @@ -18,14 +18,12 @@ public class AbpSecurityStampValidator : SecurityStampValidator public AbpSecurityStampValidator( IOptions options, SignInManager signInManager, - ISystemClock systemClock, ILoggerFactory loggerFactory, ITenantConfigurationProvider tenantConfigurationProvider, ICurrentTenant currentTenant) : base( options, signInManager, - systemClock, loggerFactory) { TenantConfigurationProvider = tenantConfigurationProvider; @@ -33,7 +31,7 @@ public class AbpSecurityStampValidator : SecurityStampValidator } [UnitOfWork] - public override async Task ValidateAsync(CookieValidatePrincipalContext context) + public async override Task ValidateAsync(CookieValidatePrincipalContext context) { TenantConfiguration tenant = null; try