mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 23:50:08 +08:00
[core] Temporary disable Reconnect without slider request
; Reduce device banning caused by loginsolver error
This commit is contained in:
parent
90f2fee243
commit
b38687a3ea
@ -310,7 +310,10 @@ internal class SsoProcessorImpl(
|
|||||||
// retry once
|
// retry once
|
||||||
if (!allowSlider) collectThrow(createUnsupportedSliderCaptchaException(allowSlider))
|
if (!allowSlider) collectThrow(createUnsupportedSliderCaptchaException(allowSlider))
|
||||||
allowSlider = false
|
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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user