From d379e7f2d2826132928d0e297382dca5e7fc6ba8 Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Wed, 8 Aug 2018 14:41:05 +0200 Subject: code cleanup --- .../src/main/java/at/asit/pdfover/gui/bku/MobileBKUConnector.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pdf-over-gui/src/main/java') 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(); -- cgit v1.2.3