Skip to content

Commit 75ef229

Browse files
feature(#22): this commit updates the secret expiration logic
1 parent 4ebbd5e commit 75ef229

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Applications/Backend/Source/HttpsRichardy.Federation.Infrastructure/Security/SecretRotationService.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ public async Task RotateSecretAsync(Realm realm, CancellationToken cancellation
8888
return;
8989
}
9090

91-
if (current.ExpiresAt is not null && current.ExpiresAt > now)
92-
return;
93-
9491
current.ExpiresAt = now;
9592
current.GracePeriodEndsAt = now.Add(_gracePeriod);
9693

0 commit comments

Comments
 (0)