Calling mayRetrieveAutomaticallyIfUserEnteredDecoupledTan() out of loop. Should make no difference but should sound more logic
This commit is contained in:
parent
b32cf94e25
commit
bd18644c0d
|
@ -384,11 +384,11 @@ open class FinTsJobExecutor(
|
||||||
|
|
||||||
context.callback.enterTan(tanChallenge)
|
context.callback.enterTan(tanChallenge)
|
||||||
|
|
||||||
while (tanChallenge.isEnteringTanDone == false) {
|
|
||||||
delay(250)
|
|
||||||
|
|
||||||
mayRetrieveAutomaticallyIfUserEnteredDecoupledTan(context, tanChallenge, tanResponse)
|
mayRetrieveAutomaticallyIfUserEnteredDecoupledTan(context, tanChallenge, tanResponse)
|
||||||
|
|
||||||
|
while (tanChallenge.isEnteringTanDone == false) {
|
||||||
|
delay(500)
|
||||||
|
|
||||||
// TODO: add a timeout of e.g. 30 min
|
// TODO: add a timeout of e.g. 30 min
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue