Skip to content

Clean PIV session detail after deletion (2)#10238

Merged
aduth merged 1 commit intomainfrom
aduth-piv-no-js-clean-session
Mar 18, 2024
Merged

Clean PIV session detail after deletion (2)#10238
aduth merged 1 commit intomainfrom
aduth-piv-no-js-clean-session

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Mar 13, 2024

🛠 Summary of changes

Adds missing PIV behavior for deleted PIV, expected to remove cached user_session detail. This carries forward from the original implementation preceding #9861, removed in #10218.

This is the same as #10220, but applied to the no-JS fallback controller (Users::PivCacController) in addition to the JavaScript API controller (Api::Internal::TwoFactorAuthentication::PivCacController).

📜 Testing Plan

rspec spec/controllers/api/internal/two_factor_authentication/piv_cac_controller_spec.rb

changelog: Bug Fixes, PIV/CAC, Consistently clear PIV session detail after deletion
@aduth aduth requested a review from jc-gsa March 13, 2024 13:33
@aduth aduth changed the title Clean PIV session detail after deletion Clean PIV session detail after deletion (2) Mar 13, 2024
@aduth aduth requested a review from a team March 14, 2024 14:01
@aduth aduth merged commit 39a2919 into main Mar 18, 2024
@aduth aduth deleted the aduth-piv-no-js-clean-session branch March 18, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants