Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
ldap-auth
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
German Shvetsov
ldap-auth
Commits
fcf9cc47
Commit
fcf9cc47
authored
Mar 31, 2016
by
stanislav.goldmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed refactoring bugs
parent
a29082c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
LdapAuthUserProvider.php
src/LdapAuthUserProvider.php
+1
-0
LdapUser.php
src/Objects/LdapUser.php
+1
-1
No files found.
src/LdapAuthUserProvider.php
View file @
fcf9cc47
...
...
@@ -4,6 +4,7 @@ namespace Krenor\LdapAuth;
use
Illuminate\Contracts\Auth\UserProvider
;
use
Illuminate\Contracts\Auth\Authenticatable
;
use
Krenor\LdapAuth\Objects\Ldap
;
class
LdapAuthUserProvider
implements
UserProvider
{
...
...
src/Objects/LdapUser.php
View file @
fcf9cc47
...
...
@@ -148,7 +148,7 @@ class LdapUser implements UserContract, AuthorizableContract, LdapUserContract
*/
private
function
buildAttributesFromLdap
(
$entry
)
{
$this
->
attributes
[
'd
isplay_name'
]
=
$entry
[
'displayname'
][
0
];
$this
->
attributes
[
'd
n'
]
=
$entry
[
'dn'
];
// Set the attributes accordingly to the search fields given
foreach
(
$entry
as
$index
=>
$key
){
...
...
Write
Preview
Markdown
is supported
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