Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
default user class to custom LdapUser
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann committed Jun 5, 2015
1 parent 5a9708b commit cc0fa3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/Core/User/LdapUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct($name, Ldap $ldap, LoggerInterface $logger = null, a
'roles' => array(
// role => group
),
'class' => 'Symfony\\Component\\Security\\Core\\User\\User',
'class' => 'Radebatz\\Silex\\LdapAuth\\Security\\Core\\User\\LdapUser',
'filter' => '(&(objectClass=user)(sAMAccountName=%s))',
'baseDn' => null,
);
Expand Down

0 comments on commit cc0fa3f

Please sign in to comment.