mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-02-17 08:59:46 +03:00
enforcing username profanity and blacklist policy
This commit is contained in:
parent
9e70f8f756
commit
2925f82aa5
1 changed files with 2 additions and 2 deletions
|
@ -45,9 +45,9 @@ impl Data {
|
|||
.expect("Unable to form database pool");
|
||||
|
||||
let creds = ConfigBuilder::default()
|
||||
.username_case_mapped(false)
|
||||
.username_case_mapped(true)
|
||||
.profanity(true)
|
||||
.blacklist(false)
|
||||
.blacklist(true)
|
||||
.password_policy(PasswordPolicy::default())
|
||||
.build()
|
||||
.unwrap();
|
||||
|
|
Loading…
Add table
Reference in a new issue