Skip to content

Commit b92c7c8

Browse files
authored
Merge pull request #20 from samply/bugfix/client-secret-length
Changed: Minimal password length 32
2 parents df99b3f + bfd508d commit b92c7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

central/src/auth/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub fn generate_secret() -> String {
66
const CHARSET: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\
77
abcdefghijklmnopqrstuvwxyz\
88
0123456789";
9-
const PASSWORD_LEN: usize = 30;
9+
const PASSWORD_LEN: usize = 32;
1010
let mut rng = rand::thread_rng();
1111

1212
(0..PASSWORD_LEN)

0 commit comments

Comments
 (0)