mirror of
https://github.com/dromara/tianai-captcha.git
synced 2026-05-25 11:52:43 +08:00
U 调整参数
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ public class BasicCaptchaTrackValidator extends SimpleSliderCaptchaValidator {
|
|||||||
}
|
}
|
||||||
// 检测3
|
// 检测3
|
||||||
SliderCaptchaTrack.Track firstTrack = trackList.get(0);
|
SliderCaptchaTrack.Track firstTrack = trackList.get(0);
|
||||||
if (firstTrack.getX() > 1 || firstTrack.getX() < -2 || firstTrack.getY() > 1 || firstTrack.getY() < -2) {
|
if (firstTrack.getX() > 10 || firstTrack.getX() < -10 || firstTrack.getY() > 10 || firstTrack.getY() < -10) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
int check4 = 0;
|
int check4 = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user