Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 8766e2c

Browse files
committed
Comment tweaks.
1 parent b38615f commit 8766e2c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/Commands/Import.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
);

src/Config/config.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
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

@@ -41,7 +42,7 @@
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

0 commit comments

Comments
 (0)