Skip to content

Commit 171317d

Browse files
authored
CheckSlidingExpiration should use Events property (#46777)
1 parent 8d61cc4 commit 171317d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Security/Authentication/Cookies/src/CookieAuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private async Task CheckForRefreshAsync(AuthenticationTicket ticket)
9393
{
9494
ShouldRenew = timeRemaining < timeElapsed,
9595
};
96-
await Options.Events.CheckSlidingExpiration(eventContext);
96+
await Events.CheckSlidingExpiration(eventContext);
9797

9898
if (eventContext.ShouldRenew)
9999
{

0 commit comments

Comments
 (0)