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

Commit 197f85b

Browse files
committed
Fix newAdldapUserQuery
1 parent 2d675c1 commit 197f85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/ImportsUsers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ protected function handleAttributeRetrieval(User $user, $field)
207207
protected function newAdldapUserQuery()
208208
{
209209
/** @var \Adldap\Query\Builder $query */
210-
$query = Adldap::users()->search();
210+
$query = Adldap::getDefaultProvider()->search()->users();
211211

212212
$filter = $this->getLimitationFilter();
213213

0 commit comments

Comments
 (0)