Changed order to make it clearer
This commit is contained in:
parent
f154e60e1e
commit
33a86607df
|
@ -175,13 +175,13 @@ open class FinTsClient(
|
||||||
|
|
||||||
val newUserInfoResponse = config.jobExecutor.retrieveBasicDataLikeUsersTanMethods(context, param.preferredTanMethods, param.preferredTanMedium)
|
val newUserInfoResponse = config.jobExecutor.retrieveBasicDataLikeUsersTanMethods(context, param.preferredTanMethods, param.preferredTanMedium)
|
||||||
|
|
||||||
|
/* Second dialog, executed in retrieveBasicDataLikeUsersTanMethods() if required: some banks require that in order to initialize a dialog with
|
||||||
|
strong customer authorization TAN media is required */
|
||||||
|
|
||||||
if (newUserInfoResponse.successful == false) { // bank parameter (FinTS server address, ...) already seem to be wrong
|
if (newUserInfoResponse.successful == false) { // bank parameter (FinTS server address, ...) already seem to be wrong
|
||||||
return GetAccountInfoResponse(context, newUserInfoResponse)
|
return GetAccountInfoResponse(context, newUserInfoResponse)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Second dialog, executed in retrieveBasicDataLikeUsersTanMethods() if required: some banks require that in order to initialize a dialog with
|
|
||||||
strong customer authorization TAN media is required */
|
|
||||||
|
|
||||||
val getAccountsResponse = config.jobExecutor.getAccounts(context)
|
val getAccountsResponse = config.jobExecutor.getAccounts(context)
|
||||||
|
|
||||||
return GetAccountInfoResponse(context, getAccountsResponse)
|
return GetAccountInfoResponse(context, getAccountsResponse)
|
||||||
|
|
Loading…
Reference in New Issue