Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4850 from IdentityServer/features/ensure_consumed…
Browse files Browse the repository at this point in the history
…_time_is_utc

ensure consumed time is utc
  • Loading branch information
brockallen committed Sep 9, 2020
2 parents 2bc7c6b + ae0d365 commit 511b34a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public virtual async Task<string> UpdateRefreshTokenAsync(string handle, Refresh
Logger.LogDebug("Token usage is one-time only. Setting current handle as consumed, and generating new handle");

// flag as consumed
refreshToken.ConsumedTime = Clock.UtcNow.DateTime;
refreshToken.ConsumedTime = Clock.UtcNow.UtcDateTime;
await RefreshTokenStore.UpdateRefreshTokenAsync(handle, refreshToken);

// create new one
Expand Down

0 comments on commit 511b34a

Please sign in to comment.