@@ -29,7 +29,7 @@ protected function setUp(): void
29
29
'auth.defaults.guard ' => 'ldap ' ,
30
30
'services.ldap.base_dn ' => 'dc=ldap,dc=local ' ,
31
31
'services.ldap.email_attribute ' => 'mail ' ,
32
- 'services.ldap.display_name_attribute ' => 'cn ' ,
32
+ 'services.ldap.display_name_attribute ' => [ 'cn ' ] ,
33
33
'services.ldap.id_attribute ' => 'uid ' ,
34
34
'services.ldap.user_to_groups ' => false ,
35
35
'services.ldap.version ' => '3 ' ,
@@ -581,7 +581,7 @@ public function test_login_group_mapping_does_not_conflict_with_default_role()
581
581
public function test_login_uses_specified_display_name_attribute ()
582
582
{
583
583
app ('config ' )->set ([
584
- 'services.ldap.display_name_attribute ' => 'displayName ' ,
584
+ 'services.ldap.display_name_attribute ' => [ 'displayName ' ] ,
585
585
]);
586
586
587
587
$ this ->commonLdapMocks (1 , 1 , 2 , 4 , 2 );
@@ -606,7 +606,7 @@ public function test_login_uses_specified_display_name_attribute()
606
606
public function test_login_uses_default_display_name_attribute_if_specified_not_present ()
607
607
{
608
608
app ('config ' )->set ([
609
- 'services.ldap.display_name_attribute ' => 'displayName ' ,
609
+ 'services.ldap.display_name_attribute ' => [ 'displayName ' ] ,
610
610
]);
611
611
612
612
$ this ->commonLdapMocks (1 , 1 , 2 , 4 , 2 );
0 commit comments