diff options
author | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2018-08-08 14:41:05 +0200 |
---|---|---|
committer | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2018-08-08 14:41:05 +0200 |
commit | d379e7f2d2826132928d0e297382dca5e7fc6ba8 (patch) | |
tree | 8c3e7966825455d0e8d689f48484b91da450553c | |
parent | e7e98e908d4b71e875e9ff6d31dea052e5c9f3b8 (diff) | |
download | pdf-over-d379e7f2d2826132928d0e297382dca5e7fc6ba8.tar.gz pdf-over-d379e7f2d2826132928d0e297382dca5e7fc6ba8.tar.bz2 pdf-over-d379e7f2d2826132928d0e297382dca5e7fc6ba8.zip |
code cleanup
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/MobileBKUConnector.java | 8 |
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();
|