mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-13 06:53:19 -05:00
renamed GifCaptcha to PoppingCharactersCaptcha
This commit is contained in:
parent
d81cf17a08
commit
c362ed5cb0
@ -19,7 +19,7 @@ import lc.captchas.interfaces.ChallengeProvider;
|
||||
import lc.misc.HelperFunctions;
|
||||
import lc.misc.GifSequenceWriter;
|
||||
|
||||
public class GifCaptcha implements ChallengeProvider {
|
||||
public class PoppingCharactersCaptcha implements ChallengeProvider {
|
||||
private final Font font = new Font("Arial", Font.ROMAN_BASELINE, 48);
|
||||
private final int width = 250;
|
||||
private final int height = 100;
|
||||
@ -108,6 +108,6 @@ public class GifCaptcha implements ChallengeProvider {
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return "GifCaptcha";
|
||||
return "PoppingCharactersCaptcha";
|
||||
}
|
||||
}
|
@ -9,7 +9,7 @@ object CaptchaProviders {
|
||||
private val providers = Map(
|
||||
"FilterChallenge" -> new FilterChallenge,
|
||||
//"FontFunCaptcha" -> new FontFunCaptcha,
|
||||
"GifCaptcha" -> new GifCaptcha,
|
||||
"PoppingCharactersCaptcha" -> new PoppingCharactersCaptcha,
|
||||
"ShadowTextCaptcha" -> new ShadowTextCaptcha,
|
||||
"RainDropsCaptcha" -> new RainDropsCP,
|
||||
"DebugCaptcha" -> new DebugCaptcha
|
||||
|
@ -65,7 +65,7 @@ object Config {
|
||||
(AttributesEnum.CONFIG.toString -> JObject())
|
||||
),
|
||||
(
|
||||
(AttributesEnum.NAME.toString -> "GifCaptcha") ~
|
||||
(AttributesEnum.NAME.toString -> "PoppingCharactersCaptcha") ~
|
||||
(ParametersEnum.ALLOWEDLEVELS.toString -> List("hard")) ~
|
||||
(ParametersEnum.ALLOWEDMEDIA.toString -> List("image/gif")) ~
|
||||
(ParametersEnum.ALLOWEDINPUTTYPE.toString -> List("text")) ~
|
||||
|
Loading…
Reference in New Issue
Block a user