mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 07:07:46 +00:00
🐛 Fix ajax failure does not reapply
This commit is contained in:
parent
78b1b1ba15
commit
6f09d52ec5
@ -87,6 +87,8 @@ class ChallengeSystem(Plugin):
|
||||
return client.player_id, "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.player_id, gt, challenge)
|
||||
return client.player_id, gt, challenge
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user