diff --git a/mirai-core/src/commonMain/kotlin/network/components/SsoProcessor.kt b/mirai-core/src/commonMain/kotlin/network/components/SsoProcessor.kt index a187b56a9..a853b7069 100644 --- a/mirai-core/src/commonMain/kotlin/network/components/SsoProcessor.kt +++ b/mirai-core/src/commonMain/kotlin/network/components/SsoProcessor.kt @@ -298,15 +298,7 @@ internal class SsoProcessorImpl( // use solver val ticket = try { loginSolverNotNull().onSolveSliderCaptcha(bot, response.url)?.takeIf { it.isNotEmpty() } - } catch (e: LoginFailedException) { - collectThrow(e) } catch (error: Throwable) { - if (allowSlider) { - collectException(error) - allowSlider = false - response = WtLogin9(client, allowSlider).sendAndExpect() - continue@mainloop - } collectThrow(error) } response = if (ticket == null) {