Skip to content

Commit

Permalink
Update pkg/utils/ldap/identity.go
Browse files Browse the repository at this point in the history
Co-authored-by: kobergj <juliankoberg@googlemail.com>
  • Loading branch information
Daniel Swärd and kobergj authored Mar 24, 2023
1 parent 86b2705 commit cd4f362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/ldap/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ func (i *Identity) getGroupAttributeFilter(attribute, value string) (string, err
), nil
}

// GetUserType is used to set the proper UserType from ldap entry string
// GetUserType is used to get the proper UserType from ldap entry string
func (i *Identity) GetUserType(userEntry *ldap.Entry) identityUser.UserType {
userTypeString := userEntry.GetEqualFoldAttributeValue(i.User.UserTypeProperty)
switch strings.ToLower(userTypeString) {
Expand Down

0 comments on commit cd4f362

Please sign in to comment.