size of captcha image is changed
This commit is contained in:
parent
e0fcc04907
commit
362b8d73ee
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user