Commit d5da26d7 authored by ale's avatar ale
Browse files

Tiny fix

parent 254ae7dc
...@@ -124,7 +124,7 @@ func decodeUserInfoFromMap(m map[string]string, prefix string) *UserInfo { ...@@ -124,7 +124,7 @@ func decodeUserInfoFromMap(m map[string]string, prefix string) *UserInfo {
u.Groups = append(u.Groups, s) u.Groups = append(u.Groups, s)
i++ i++
} }
if u.Email == "" && len(u.Groups) == 0 { if u.Email == "" && u.Shard == "" && len(u.Groups) == 0 {
return nil return nil
} }
return &u return &u
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment