From 6f9cde463973c12bdd4c66be758922e7b3a056b3 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 17 Sep 2020 19:56:50 -0400 Subject: [PATCH] missing field --- ldap.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ldap.go b/ldap.go index 84d1745..d2b372e 100644 --- a/ldap.go +++ b/ldap.go @@ -10,6 +10,7 @@ import ( func createLDAPAccount(uname string, pwd string, email string) error { if uname == "" || pwd == "" || email == "" { + log.Printf("error: missing field\n") return errors.New("Missing field") } url := Conf.Ldap.Url