Trying a utility file

This commit is contained in:
Chris Mann 2023-07-20 12:04:18 +02:00
parent 5a8b8cf7d1
commit 407761abcc

View file

@ -68,9 +68,9 @@ func addNewUser(newUser NewUser, config *ConfigFile, login *LoginStatus) bool {
req.Attribute("description", []string{newUser.Description})
}
err := login.conn.Add(req)
// log.Printf(fmt.Sprintf("71: %v",err))
// log.Printf(fmt.Sprintf("72: %v",req))
// log.Printf(fmt.Sprintf("73: %v",newUser))
log.Printf(fmt.Sprintf("71: %v", err))
log.Printf(fmt.Sprintf("72: %v", req))
log.Printf(fmt.Sprintf("73: %v", newUser))
if err != nil {
log.Printf(fmt.Sprintf("75: %v", err))
return false