This commit is contained in:
Dan Cech
2018-03-23 11:58:38 -04:00
parent a1b1d2fe80
commit e53315dce8
3 changed files with 3 additions and 2 deletions

View File

@@ -117,8 +117,8 @@ func updateUser(user *m.User, extUser *m.ExternalUserInfo) error {
}
func syncOrgRoles(user *m.User, extUser *m.ExternalUserInfo) error {
// don't sync org roles if none are specified
if len(extUser.OrgRoles) == 0 {
// log.Warn("No group mappings defined")
return nil
}