mirror of
https://github.com/skyle1995/NetworkAuth.git
synced 2026-05-25 02:24:05 +08:00
移除验证码调试日志,增加cookie 工具
This commit is contained in:
@@ -104,7 +104,6 @@ func VerifyCaptcha(c *gin.Context, captchaValue string) bool {
|
||||
logrus.WithError(err).Warn("验证码验证失败:无法从Cookie获取captcha_id")
|
||||
return false
|
||||
}
|
||||
logrus.Infof("VerifyCaptcha: received captchaId=%s, captchaValue=%s", captchaId, captchaValue)
|
||||
|
||||
// 先尝试原始值验证
|
||||
if store.Verify(captchaId, captchaValue, false) {
|
||||
|
||||
Reference in New Issue
Block a user