From 7f6b2e211c96f16ecc26945f69fba19735040f02 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Sat, 22 Jul 2023 10:11:51 +0200 Subject: [PATCH] Factoring the model user and correcting password --- model-user.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/model-user.go b/model-user.go index 510188d..da46b44 100644 --- a/model-user.go +++ b/model-user.go @@ -165,10 +165,6 @@ func bind(user User, config *ConfigFile, ldapConn *ldap.Conn) error { } func replaceIfContent(modifReq *ldap.ModifyRequest, key string, value string, previousValue string) error { - log.Printf("replaceIfContent : %v", modifReq) - log.Printf("replaceIfContent : %v", key) - log.Printf("replaceIfContent : %v", value) - log.Printf("replaceIfContent : %v", previousValue) if value != "" { modifReq.Replace(key, []string{value}) } else if previousValue != "" {