We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd2a2f3 + 817d112 commit 11f599bCopy full SHA for 11f599b
app/Ldap/User.php
@@ -79,7 +79,7 @@ public static function createOrUpdate(string $username, array $attr, array $grou
79
public static function show(String $username)
80
{
81
82
- $user = Adldap::search()->where('cn', '=', $username)->first();
+ $user = Adldap::search()->users()->where('cn', '=', $username)->first();
83
if(!is_null($user)){
84
85
$attr = [];
0 commit comments