Skip to content

Commit 4a6f5b9

Browse files
committed
Login mutation does not appear if multiple providers are defined
Because the UserProviderInterface does not exists if there are many User providers defined.
1 parent 22b829f commit 4a6f5b9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Tests/GraphqliteTestingKernel.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,21 @@ public function configureContainer(ContainerBuilder $c, LoaderInterface $loader)
7979
],
8080
],
8181
],
82+
'in_memory_other' => [
83+
'memory' => [
84+
'users' => [
85+
'foo' => [
86+
'password' => 'bar',
87+
'roles' => 'ROLE_USER',
88+
],
89+
],
90+
],
91+
],
8292
],
8393
'firewalls' => [
8494
'main' => [
85-
'anonymous' => true
95+
'anonymous' => true,
96+
'provider' => 'in_memory'
8697
]
8798
],
8899
'encoders' => [

0 commit comments

Comments
 (0)