mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-12 22:43:20 -05:00
correct content type for raindrops catpcha
This commit is contained in:
parent
6b35e53fe3
commit
8ff9ebaf3f
@ -116,7 +116,7 @@ class RainDropsCP extends ChallengeProvider {
|
||||
ios.close
|
||||
|
||||
// ImageIO.write(canvas,"png",baos);
|
||||
new Challenge(baos.toByteArray, "image/png", secret)
|
||||
new Challenge(baos.toByteArray, "image/gif", secret)
|
||||
}
|
||||
def checkAnswer(secret: String, answer: String): Boolean = {
|
||||
secret == answer
|
||||
|
Loading…
Reference in New Issue
Block a user