This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ protected function findUser()
79
79
$ query ->withTrashed ();
80
80
}
81
81
82
+ // We'll try to locate the user by their object guid,
83
+ // otherwise we'll locate them by their username.
82
84
return $ query ->where (
83
85
Resolver::getDatabaseIdColumn (),
84
86
'= ' ,
@@ -99,7 +101,7 @@ protected function findUser()
99
101
*/
100
102
protected function sync (Model $ model )
101
103
{
102
- // Set the users identifier automatically .
104
+ // Set the users LDAP identifier .
103
105
$ model ->setAttribute (
104
106
Resolver::getDatabaseIdColumn (), $ this ->user ->getConvertedGuid ()
105
107
);
Original file line number Diff line number Diff line change 7
7
| Logging
8
8
|--------------------------------------------------------------------------
9
9
|
10
- | Whether to enable logging LDAP operations such as bind requests and CRUD operations.
10
+ | This option enables logging all LDAP operations on all configured
11
+ | connections such as bind requests and CRUD operations.
11
12
|
12
13
*/
13
14
41
42
| in your application.
42
43
|
43
44
| If this is set to false, you **must** connect manually before running
44
- | LDAP operations.
45
+ | LDAP operations. Otherwise, you will receive exceptions.
45
46
|
46
47
*/
47
48
You can’t perform that action at this time.
0 commit comments