diff --git a/config/packages/tabler.yaml b/config/packages/tabler.yaml index 5f55502..3acb2e7 100644 --- a/config/packages/tabler.yaml +++ b/config/packages/tabler.yaml @@ -35,7 +35,6 @@ tabler: routes: tabler_welcome: home tabler_login: login - tabler_logout: logout tabler_login_check: login_check tabler_registration: registration tabler_registration_register: registration_register diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 7cde4ad..7d42a5f 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -62,6 +62,7 @@ private function getRouteAliasesConfig(): NodeDefinition ->scalarNode('tabler_logout') ->defaultValue('logout') ->info('name of the logout route') + ->setDeprecated('kevinpapst/tabler-bundle', '1.5.0') ->end() ->scalarNode('tabler_login_check') ->defaultValue('login_check') diff --git a/tests/DependencyInjection/ConfigurationTest.php b/tests/DependencyInjection/ConfigurationTest.php index 56d7c67..b99970f 100644 --- a/tests/DependencyInjection/ConfigurationTest.php +++ b/tests/DependencyInjection/ConfigurationTest.php @@ -72,7 +72,6 @@ protected function getDefaultConfig(): array 'routes' => [ 'tabler_welcome' => 'home', 'tabler_login' => 'login', - 'tabler_logout' => 'logout', 'tabler_login_check' => 'login_check', 'tabler_registration' => null, 'tabler_registration_register' => null,