From cd4f3628eb5806ed1c460403bc2c7b06d186fc75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sw=C3=A4rd?= Date: Fri, 24 Mar 2023 11:12:06 +0100 Subject: [PATCH] Update pkg/utils/ldap/identity.go Co-authored-by: kobergj --- pkg/utils/ldap/identity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/ldap/identity.go b/pkg/utils/ldap/identity.go index fd3c47805d..83a66739a9 100644 --- a/pkg/utils/ldap/identity.go +++ b/pkg/utils/ldap/identity.go @@ -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) {