🐛 Fix sign referer AttributeError

This commit is contained in:
omg-xtao 2023-04-26 00:11:25 +08:00 committed by GitHub
parent d51e5c64cc
commit 0a63b8250d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ class SignSystem(Plugin):
challenge = request_daily_reward.get("challenge", "")
logger.warning("UID[%s] 触发验证码\ngt[%s]\nchallenge[%s]", client.uid, gt, challenge)
validate = await self.verify.ajax(
referer=self.REFERER,
referer=RecognizeSystem.REFERER,
gt=gt,
challenge=challenge,
)