diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-11-04 11:18:24 +0100 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-11-04 11:18:24 +0100 |
commit | 97ade449dd0ba0f0b9577de325b771ff433f0a74 (patch) | |
tree | cbc984f0c72dfc2609145e71b7c3a1a079d683a5 /pdf-over-gui/src/main | |
parent | a5c91a801bdaa6f9ac2ac2fa17a17c9a6efd5026 (diff) | |
download | pdf-over-97ade449dd0ba0f0b9577de325b771ff433f0a74.tar.gz pdf-over-97ade449dd0ba0f0b9577de325b771ff433f0a74.tar.bz2 pdf-over-97ade449dd0ba0f0b9577de325b771ff433f0a74.zip |
clean remembered password on user cancel
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java index b02ac057..cf4d6d37 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java @@ -104,7 +104,9 @@ public class SigningState extends State { } } if (this.threadException instanceof UserCancelledException) { - // don't display error, go back to BKU Selection + // don't display error, clear remembered password and go back to BKU Selection + if (this.getConfig().getRememberMobilePassword()) + this.getConfig().setDefaultMobilePasswordOverlay(null); this.setNextState(new BKUSelectionState(getStateMachine())); return; } |