Implementing Activate User

This commit is contained in:
Chris Mann 2023-07-21 08:29:09 +02:00
parent 5b8c669a18
commit 3a7fa826c0

View file

@ -56,6 +56,9 @@ func addNewUser(newUser NewUser, config *ConfigFile, login *LoginStatus) bool {
if newUser.Mail != "" {
req.Attribute("mail", []string{newUser.Mail})
}
if newUser.UID != "" {
req.Attribute("uid", []string{newUser.UID})
}
// if newUser.Member != "" {
// req.Attribute("member", []string{newUser.Member})
// }