mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-11-20 09:56:02 -05:00
correct content type for raindrops catpcha
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user