You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -119,11 +122,18 @@ public function process(ContainerBuilder $container)
119
122
if (!$container->has(SessionInterface::class)) {
120
123
thrownewGraphQLException('In order to enable the login/logout mutations (via the graphqlite.security.enable_login parameter), you need to enable session support (via the "framework.session.enabled" config parameter).');
121
124
}
122
-
if (!$container->has(UserPasswordEncoderInterface::class) || !$container->has(TokenStorageInterface::class) || !$container->has(UserProviderInterface::class)) {
125
+
if (!$container->has(UserPasswordEncoderInterface::class) || !$container->has(TokenStorageInterface::class) || !$container->has($firewallConfigServiceName)) {
123
126
thrownewGraphQLException('In order to enable the login/logout mutations (via the graphqlite.security.enable_login parameter), you need to install the security bundle. Please be sure to correctly configure the user provider (in the security.providers configuration settings)');
124
127
}
125
128
}
126
129
130
+
if ($disableLogin === false) {
131
+
// Let's do some dark magic. We need the user provider. We need its name. It is stored in the "config" object.
0 commit comments