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()
7979 $ query ->withTrashed ();
8080 }
8181
82+ // We'll try to locate the user by their object guid,
83+ // otherwise we'll locate them by their username.
8284 return $ query ->where (
8385 Resolver::getDatabaseIdColumn (),
8486 '= ' ,
@@ -99,7 +101,7 @@ protected function findUser()
99101 */
100102 protected function sync (Model $ model )
101103 {
102- // Set the users identifier automatically .
104+ // Set the users LDAP identifier .
103105 $ model ->setAttribute (
104106 Resolver::getDatabaseIdColumn (), $ this ->user ->getConvertedGuid ()
105107 );
Original file line number Diff line number Diff line change 77 | Logging
88 |--------------------------------------------------------------------------
99 |
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.
1112 |
1213 */
1314
4142 | in your application.
4243 |
4344 | If this is set to false, you **must** connect manually before running
44- | LDAP operations.
45+ | LDAP operations. Otherwise, you will receive exceptions.
4546 |
4647 */
4748
You can’t perform that action at this time.
0 commit comments