Skip to content
Snippets Groups Projects
Unverified Commit 2180fe1a authored by Lukas Lechner's avatar Lukas Lechner Committed by GitHub
Browse files

Discard OTP when high risk card disappears (EXPOSUREAPP-5144) (#2353)


* Discard one time password when risk state changes from HIGH to LOW

* Call oneTimePasswordRepo.clear() instead of settings.clear() in resetSurvey() of Surveys.kt

* Remove suspend modifier from resetSurvey() function

* Add log statement in resetSurvey()

Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
Co-authored-by: default avatarBMItter <46747780+BMItter@users.noreply.github.com>
parent 053d9cab
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment