diff --git a/app/config/config.yml b/app/config/config.yml index 505374f470..6a1d5bd07c 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -134,3 +134,12 @@ fos_http_cache: public: true max_age: 0 s_maxage: 20 + # Do not cache login/logout + - + match: + path: ^/(login|logout) + headers: + overwrite: true + cache_control: + max_age: 0 + s_maxage: 0