enforcing username profanity and blacklist policy

This commit is contained in:
realaravinth 2021-06-01 17:35:48 +05:30
parent 9e70f8f756
commit 2925f82aa5
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -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();