Browse Source

Fix horrible, horrible bug

master
Alex 2 months ago
parent
commit
4367e4a232
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      memberof.go

+ 1
- 1
memberof.go View File

@ -43,7 +43,7 @@ func (server *Server) memberOfRemove(member string, group string) {
newMemberOf := []string{}
for _, mb := range memberOf {
if mb != group {
newMemberOf = append(newMemberOf, group)
newMemberOf = append(newMemberOf, mb)
}
}

Loading…
Cancel
Save