summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java4
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;
}