From 3d47ccd746a8ead4fc3feee26f83ee8d52fb3128 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 4 Jan 2024 16:20:53 +1100 Subject: [PATCH] turn off ldap debug --- models/ldap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/ldap.go b/models/ldap.go index c562e82..85b67a8 100644 --- a/models/ldap.go +++ b/models/ldap.go @@ -123,7 +123,7 @@ func VerifyLdapCreds(username string, password string) bool { defer ldaps.Close() - ldaps.Debug = true + //ldaps.Debug = true // try to bind to AD log.Printf("Attempting LDAP bind with user '%s' and password '%s'\n", username, password)