Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
5f0f162a
Commit
5f0f162a
authored
Apr 10, 2019
by
Laurent Lécluse
Browse files
Bug d'affichage des paramètres en cas de LDAP désactivé corrigé
parent
7a2d2b9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
module/Application/src/Application/Connecteur/LdapConnecteur.php
View file @
5f0f162a
...
...
@@ -159,6 +159,8 @@ class LdapConnecteur extends AbstractService
*/
public
function
getUtilisateur
(
$login
,
$autoInsert
=
true
)
{
if
(
!
\
AppConfig
::
get
(
'ldap'
,
'actif'
,
true
))
return
null
;
if
(
$user
=
$this
->
mapperUser
->
findByUsername
(
$login
))
return
$user
;
// si on le trouve alors c'est OK
if
(
$people
=
$this
->
mapperPeople
->
findOneByUsername
(
$login
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment