diff options
author | MrArmonius <mrarmonius@gmail.com> | 2021-07-26 23:01:48 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-08-16 12:54:08 +0200 |
commit | 815e9bfe2a912f0804de4882a11fd349b2f4d796 (patch) | |
tree | 0e9abbaef84d8ef900f217984808821c8234c817 /main.go | |
parent | cf4918e901da8f2c388eebd33a500bf737943685 (diff) | |
download | guichet-815e9bfe2a912f0804de4882a11fd349b2f4d796.tar.gz guichet-815e9bfe2a912f0804de4882a11fd349b2f4d796.zip |
Add Description and visibility attributes
Modify in profil's page your description and your choice about show you
on the directory. The default visibility's choice is false. Tthe
description is empty by default.
In the directory, a new row exist to show the description.
Adapt view in column Description
I use the style `word-break: break-all;` on the `<td>`
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -244,7 +244,7 @@ func checkLogin(w http.ResponseWriter, r *http.Request) *LoginStatus { login_info.DN, ldap.ScopeBaseObject, ldap.NeverDerefAliases, 0, 0, false, requestKind, - []string{"dn", "displayname", "givenname", "sn", "mail", "memberof"}, + []string{"dn", "displayname", "givenname", "sn", "mail", "memberof", "visibility", "description"}, nil) sr, err := l.Search(searchRequest) |