Skip to content

Commit

Permalink
fix: revoke reason to EF store
Browse files Browse the repository at this point in the history
Passing revocation reason down to the store.
  • Loading branch information
brunobritodev authored Apr 18, 2024
2 parents 35168c2 + 32c8fef commit 3e99b2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public async Task Revoke(KeyMaterial securityKeyWithPrivate, string reason = nul
if (securityKeyWithPrivate == null)
return;

securityKeyWithPrivate.Revoke();
securityKeyWithPrivate.Revoke(reason);
_context.Attach(securityKeyWithPrivate);
_context.SecurityKeys.Update(securityKeyWithPrivate);
await _context.SaveChangesAsync();
Expand Down

0 comments on commit 3e99b2d

Please sign in to comment.