mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-03-30 15:08:29 +00:00
enforcing username profanity and blacklist policy
This commit is contained in:
parent
9e70f8f756
commit
2925f82aa5
@ -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…
x
Reference in New Issue
Block a user