Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request _route parameter is overridden #108

Open
Systemcheck opened this issue Feb 14, 2022 · 0 comments
Open

Request _route parameter is overridden #108

Systemcheck opened this issue Feb 14, 2022 · 0 comments

Comments

@Systemcheck
Copy link

Hey, i have a problem with override the current route.

I have a maintenance listener which is listening to whitelisted routes to show or even not.

$route = $attributes->get('_route');
dd($route) // returned 'login'

if(!\in_array($route,$this->whitelist)) { 
            dd($route);  //at this point the $route is 'ch_cookie_consent.show_if_cookie_consent_not_set'
}

How can i solve this issue? I dont need Cookie Consent at this point and why it is changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant