size of captcha image is changed

This commit is contained in:
병준 박 2022-08-06 04:31:00 +00:00
parent e0fcc04907
commit 362b8d73ee

View File

@ -350,7 +350,7 @@ impl Service<'_> {
let c = c let c = c
.add_chars(5) .add_chars(5)
.apply_filter(captcha::filters::Noise::new(0.1)) .apply_filter(captcha::filters::Noise::new(0.1))
.view(220, 120); .view(220, 60);
let image_as_base64 = match c.as_base64() { let image_as_base64 = match c.as_base64() {
Some(s) => s, Some(s) => s,