Skip to content

Commit 12fcfc2

Browse files
committed
Fix display of LDAP users and groups
1 parent 153e2bc commit 12fcfc2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Security/Permission/SubjectDomainLdapGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function getAssignableSubjects(): array
6161
return array_map(
6262
fn($group) => new AssignableSubject(
6363
self::SLUG,
64-
$group['cn'],
64+
$group['cn'] . ' (LDAP)',
6565
$this->getIconClass(),
6666
null,
6767
null,

Security/Permission/SubjectDomainLdapUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getAssignableSubjects(): array
5555
return array_map(
5656
fn($user) => new AssignableSubject(
5757
self::SLUG,
58-
$user['cn'],
58+
$user['cn'] . ' (LDAP)',
5959
$this->getIconClass(),
6060
null,
6161
null,

0 commit comments

Comments
 (0)