Fixed that if wrong credentials have been entered but bank returned user's TAN methods anyway, GetUserTanMethodsResponse returned success
This commit is contained in:
parent
450f6af146
commit
eee073fe3b
|
@ -15,7 +15,7 @@ open class GetUserTanMethodsResponse(bankResponse: BankResponse)
|
|||
*/
|
||||
override val successful: Boolean
|
||||
get() = noTanMethodSelected == false && couldCreateMessage && didReceiveResponse
|
||||
&& tanRequiredButUserDidNotEnterOne == false
|
||||
&& tanRequiredButUserDidNotEnterOne == false && wrongCredentialsEntered == false
|
||||
&& (responseContainsErrors == false || containsUsersTanMethodsFeedback())
|
||||
|
||||
protected open fun containsUsersTanMethodsFeedback(): Boolean {
|
||||
|
|
Loading…
Reference in New Issue