[core] Temporary disable Reconnect without slider request; Reduce device banning caused by loginsolver error

This commit is contained in:
Karlatemp 2022-11-15 18:19:15 +08:00
parent 90f2fee243
commit b38687a3ea
No known key found for this signature in database
GPG Key ID: BA173CA2B9956C59

View File

@ -310,7 +310,10 @@ internal class SsoProcessorImpl(
// retry once
if (!allowSlider) collectThrow(createUnsupportedSliderCaptchaException(allowSlider))
allowSlider = false
response = WtLogin9(client, allowSlider).sendAndExpect()
// TODO Reconnect without slider request
// Need to create new connection NOT send it in current connection
// response = WtLogin9(client, allowSlider).sendAndExpect()
collectThrow(createUnsupportedSliderCaptchaException(false))
}
}