summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2018-08-08 14:41:05 +0200
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2018-08-08 14:41:05 +0200
commitd379e7f2d2826132928d0e297382dca5e7fc6ba8 (patch)
tree8c3e7966825455d0e8d689f48484b91da450553c /pdf-over-gui/src/main
parente7e98e908d4b71e875e9ff6d31dea052e5c9f3b8 (diff)
downloadpdf-over-d379e7f2d2826132928d0e297382dca5e7fc6ba8.tar.gz
pdf-over-d379e7f2d2826132928d0e297382dca5e7fc6ba8.tar.bz2
pdf-over-d379e7f2d2826132928d0e297382dca5e7fc6ba8.zip
code cleanup
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/MobileBKUConnector.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/MobileBKUConnector.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/MobileBKUConnector.java
index b9f77a45..7941a8ec 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/MobileBKUConnector.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/MobileBKUConnector.java
@@ -15,8 +15,6 @@
*/
package at.asit.pdfover.gui.bku;
-import java.io.IOException;
-
// Imports
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -135,8 +133,8 @@ public class MobileBKUConnector implements BkuSlConnector {
} else {
enterTAN = false;
}
- }
- if (enterTAN) {
+ }
+ if (enterTAN && !aStatus.getTanField()) {
try {
this.state.showFingerPrintInformation();
if (this.state.getStatus().getErrorMessage() != null &&
@@ -167,7 +165,7 @@ public class MobileBKUConnector implements BkuSlConnector {
}
}
- if (enterTAN || this.state.getSMSStatus()) {
+ if (enterTAN) {
// Get TAN
this.state.checkTAN();