Skip to content

Commit

Permalink
make captcha easier
Browse files Browse the repository at this point in the history
  • Loading branch information
Reknij committed Apr 18, 2024
1 parent 161d5d7 commit 165c0c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/crates/vertification_system/src/lib.rs
Expand Up @@ -105,11 +105,11 @@ impl VerificationSystem {
let mut cs = Vec::with_capacity(length as _);
for _ in 0..length {
let captcha = CaptchaBuilder::new()
.length(5)
.width(130)
.height(40)
.length(4)
.width(150)
.height(75)
.dark_mode(false)
.complexity(6) // min: 1, max: 10
.complexity(5) // min: 1, max: 10
.build();
cs.push(captcha)
}
Expand Down

0 comments on commit 165c0c0

Please sign in to comment.