From 28164f52c1aa04a508bef08722d5f07300673295 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 4 Jun 2023 21:49:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20ajax=20failure=20does=20no?= =?UTF-8?q?t=20reapply?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/tools/challenge.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/tools/challenge.py b/plugins/tools/challenge.py index 385777d0..950a3a31 100644 --- a/plugins/tools/challenge.py +++ b/plugins/tools/challenge.py @@ -77,6 +77,8 @@ class ChallengeSystem(Plugin): return client.uid, "ajax", "ajax" except APIHelperException as exc: logger.warning("用户 %s ajax 验证失效 错误信息为 %s", user_id, str(exc)) + logger.warning("用户 %s ajax 验证失败 重新申请验证", user_id) + return await self.create_challenge(user_id, need_verify, False) await self.set_challenge(client.uid, gt, challenge) return client.uid, gt, challenge