summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-14 12:47:45 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-14 12:47:45 +0200
commit1802a99548ad759c54f3ad48092ea37fc2494c81 (patch)
treed6946c8c00c86623f0b2a85c1d2a2fc8a662cde3 /pdf-over-gui
parentc7e732e3f5b5cccc6f7dd0c59350e8714faa66b1 (diff)
downloadpdf-over-1802a99548ad759c54f3ad48092ea37fc2494c81.tar.gz
pdf-over-1802a99548ad759c54f3ad48092ea37fc2494c81.tar.bz2
pdf-over-1802a99548ad759c54f3ad48092ea37fc2494c81.zip
clear remembered credentials on authentication failure
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
index 020ead33..09f67602 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
@@ -301,6 +301,7 @@ public class MobileBKUState extends State {
if (tan.isUserCancel()) {
tan.setUserCancel(false);
+ clearRememberedCredentials();
mobileStatus.errorMessage = "cancel";
return;
}
@@ -368,6 +369,7 @@ public class MobileBKUState extends State {
if (qr.isUserCancel()) {
qr.setUserCancel(false);
+ clearRememberedCredentials();
status.errorMessage = "cancel";
return;
}
@@ -504,6 +506,7 @@ public class MobileBKUState extends State {
if (fingerprintComposite.isUserCancel()) {
fingerprintComposite.setUserCancel(false);
+ clearRememberedCredentials();
status.errorMessage = "cancel";
return;
}