correct content type for raindrops catpcha

This commit is contained in:
hrj 2019-06-08 11:43:47 +05:30
parent 6b35e53fe3
commit 8ff9ebaf3f
1 changed files with 1 additions and 1 deletions

View File

@ -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