From 0153f8acec503c4f570a07b349e83a3c478f3e96 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Sat, 22 Jul 2023 10:15:26 +0200 Subject: [PATCH] Factoring the model user and correcting password --- model-user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/model-user.go b/model-user.go index 6a5e8b0..1f1e0e8 100644 --- a/model-user.go +++ b/model-user.go @@ -60,6 +60,7 @@ func get(user User, config *ConfigFile, ldapConn *ldap.Conn) (*User, error) { DN: user.DN, GivenName: searchRes.Entries[0].GetAttributeValue("givenName"), DisplayName: searchRes.Entries[0].GetAttributeValue("displayName"), + Description: searchRes.Entries[0].GetAttributeValue("description"), SN: searchRes.Entries[0].GetAttributeValue("sn"), UID: searchRes.Entries[0].GetAttributeValue("uid"), CN: searchRes.Entries[0].GetAttributeValue("cn"),