Implementing Activate User
This commit is contained in:
parent
5b8c669a18
commit
3a7fa826c0
1 changed files with 3 additions and 0 deletions
3
utils.go
3
utils.go
|
@ -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})
|
||||
// }
|
||||
|
|
Loading…
Reference in a new issue