Fixed that for ChipTan manuell and USB there's no flicker code to decode
This commit is contained in:
parent
69ed44491c
commit
3072517eef
|
@ -739,7 +739,7 @@ open class FinTsClient @JvmOverloads constructor(
|
||||||
val tanProcedure = customer.selectedTanProcedure
|
val tanProcedure = customer.selectedTanProcedure
|
||||||
|
|
||||||
return when (tanProcedure.type) {
|
return when (tanProcedure.type) {
|
||||||
TanProcedureType.ChipTanFlickercode, TanProcedureType.ChipTanManuell, TanProcedureType.ChipTanUsb ->
|
TanProcedureType.ChipTanFlickercode ->
|
||||||
FlickerCodeTanChallenge(FlickerCodeDecoder().decodeChallenge(challenge, tanProcedure.hhdVersion ?: HHDVersion.HHD_1_4), // HHD 1.4 is currently the most used version
|
FlickerCodeTanChallenge(FlickerCodeDecoder().decodeChallenge(challenge, tanProcedure.hhdVersion ?: HHDVersion.HHD_1_4), // HHD 1.4 is currently the most used version
|
||||||
messageToShowToUser, challenge, tanProcedure, tanResponse.tanMediaIdentifier)
|
messageToShowToUser, challenge, tanProcedure, tanResponse.tanMediaIdentifier)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue