debug captcha: use safe alphabets only

Signed-off-by: hrj <harshad.rj@gmail.com>
This commit is contained in:
hrj
2021-04-13 13:07:44 +05:30
parent 41bdbc7fbf
commit b765399f68
2 changed files with 7 additions and 5 deletions

View File

@@ -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())
}
}