From a13fa0dcea5d0524657f6360e48be1bc35138df5 Mon Sep 17 00:00:00 2001 From: dankl Date: Fri, 25 Oct 2019 23:52:08 +0200 Subject: [PATCH] Fixed detection of isStrongAuthenticationRequired --- .../kotlin/net/dankito/fints/response/segments/TanResponse.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/response/segments/TanResponse.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/response/segments/TanResponse.kt index e72c1d58..6159657c 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/response/segments/TanResponse.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/response/segments/TanResponse.kt @@ -44,6 +44,6 @@ open class TanResponse( } open val isStrongAuthenticationRequired: Boolean - get() = challenge != NoChallengeResponse + get() = challenge != null && challenge != NoChallengeResponse } \ No newline at end of file