diff --git a/application/config/packages/security.yaml b/application/config/packages/security.yaml index d029d06..325e31e 100644 --- a/application/config/packages/security.yaml +++ b/application/config/packages/security.yaml @@ -18,7 +18,9 @@ security: form_login: login_path: login check_path: login - + logout: + path: /logout + target: / # activate different ways to authenticate # http_basic: true diff --git a/application/config/routes.yaml b/application/config/routes.yaml index c3283aa..aa7239c 100644 --- a/application/config/routes.yaml +++ b/application/config/routes.yaml @@ -1,3 +1,2 @@ -#index: -# path: / -# controller: App\Controller\DefaultController::index +logout: + path: /logout