Skip to content

Commit 0a6352c

Browse files
authored
Merge pull request #880 from dbarzin/dev
fix ldap
2 parents ef33c7e + 30777f9 commit 0a6352c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/Ldap/Rules/OnlySpecificUsers.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
use LdapRecord\Laravel\Auth\Rule;
66

7-
class OnlySpecificUsers extends Rule
7+
use Illuminate\Database\Eloquent\Model as Eloquent;
8+
use LdapRecord\Models\Model as LdapRecord;
9+
10+
class OnlySpecificUsers implements Rule
811
{
912
public function passes(LdapRecord $user, Eloquent $model = null): bool
1013
{

0 commit comments

Comments
 (0)