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,7 +118,7 @@ public function process(ContainerBuilder $container): void
119
118
}
120
119
121
120
if ($container->getParameter('graphqlite.security.enable_login') === 'on') {
122
-
if (!$container->has(SessionInterface::class)) {
121
+
if (!$container->has('session.factory')) {
123
122
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).');
124
123
}
125
124
if (!$container->has(UserPasswordHasherInterface::class) || !$container->has(TokenStorageInterface::class) || !$container->has($firewallConfigServiceName)) {
0 commit comments