mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-11-29 05:18:50 -05:00
debug captcha: use safe alphabets only
Signed-off-by: hrj <harshad.rj@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ class DebugCaptcha extends ChallengeProvider {
|
||||
}
|
||||
|
||||
def returnChallenge(): Challenge = {
|
||||
val secret = HelperFunctions.randomString(6, HelperFunctions.alphabets)
|
||||
val secret = HelperFunctions.randomString(6, HelperFunctions.safeAlphabets)
|
||||
new Challenge(simpleText(secret), "image/png", secret.toLowerCase())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user