diff options
author | MrArmonius <mrarmonius@gmail.com> | 2021-07-30 00:04:17 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-08-16 12:54:08 +0200 |
commit | a2a484daba1ef42d82f596a989caf203ee9a370f (patch) | |
tree | a3ec45738fa59448dd99d6dd5e69172f18043e90 /directory.go | |
parent | 0ca6a159b215967a6d13b9bad5c008983e032c3f (diff) | |
download | guichet-a2a484daba1ef42d82f596a989caf203ee9a370f.tar.gz guichet-a2a484daba1ef42d82f596a989caf203ee9a370f.zip |
Add profile image front-end and back-end
Correct when empty result
The image showed when the result was empty. Now if the `dn == ""` then we
write in the column image just `""`
Diffstat (limited to 'directory.go')
-rw-r--r-- | directory.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/directory.go b/directory.go index fd9a085..a66ef28 100644 --- a/directory.go +++ b/directory.go @@ -47,11 +47,6 @@ func handleSearch(w http.ResponseWriter, r *http.Request) { return } - /**session, err := store.Get(r, SESSION_NAME) - if err != nil { - return - }**/ - //Search values with ldap and filter searchRequest := ldap.NewSearchRequest( config.UserBaseDN, |