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

Commit 1eb9d93

Browse files
committed
Add performance note
1 parent 6ff4384 commit 1eb9d93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ attributes here, however be sure that your database table contains the key you'v
129129

130130
#### Binding the Adldap User Model to the Laravel User Model
131131

132+
> **Note**: Before we begin, enabling this option will perform a single query on your AD server for a logged in user
133+
**per request**. Eloquent already does this for authentication, however this could lead to slightly slower load times
134+
due to this.
135+
132136
Inside your `config/adldap_auth.php` file there is a configuration option named `bind_user_to_model`. Setting this to
133137
true sets the `adldapUser` property on your configured auth User model to the Adldap User model. For example:
134138

0 commit comments

Comments
 (0)