From 2925f82aa5e6e38353b07585e6343e1a258e4672 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Tue, 1 Jun 2021 17:35:48 +0530 Subject: [PATCH] enforcing username profanity and blacklist policy --- src/data.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data.rs b/src/data.rs index 3fb44401..3ef150ab 100644 --- a/src/data.rs +++ b/src/data.rs @@ -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();