Skip to content

Commit

Permalink
Responsive captcha images
Browse files Browse the repository at this point in the history
  • Loading branch information
Karasiq committed Dec 2, 2020
1 parent 0a9e8cc commit e118960
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class YandexStoragePlugin extends StoragePlugin {
val sc = ShadowCloud()
val api = new YandexWebApi(solveCaptcha = { imageUrl
sc.challenges
.create(s"Yandex captcha ($storageId)", s"""<img src="$imageUrl"/>""")
.create(s"Yandex captcha ($storageId)", s"""<img class="img-responsive" src="$imageUrl"/>""")
.map(_.utf8String)
}, passChallenge = { url
sc.challenges
Expand Down

0 comments on commit e118960

Please sign in to comment.