Code Duplication    Length = 5-5 lines in 2 locations

src/DependencyInjection/Configuration.php 2 locations

@@ 123-127 (lines=5) @@
120
121
                        return $v;
122
                    }
123
                    if (isset($v['proxy_client']['varnish']) || isset($v['proxy_client']['noop'])) {
124
                        $v['user_context']['logout_handler']['enabled'] = true;
125
126
                        return $v;
127
                    }
128
129
                    if ('auto' === $v['user_context']['logout_handler']['enabled']) {
130
                        $v['user_context']['logout_handler']['enabled'] = false;
@@ 129-133 (lines=5) @@
126
                        return $v;
127
                    }
128
129
                    if ('auto' === $v['user_context']['logout_handler']['enabled']) {
130
                        $v['user_context']['logout_handler']['enabled'] = false;
131
132
                        return $v;
133
                    }
134
135
                    throw new InvalidConfigurationException('To enable the user context logout handler, you need to configure a ban capable proxy_client.');
136
                })