Skip to content

Commit

Permalink
[AdminBundle] Fix redirect loop with setup without new authentication…
Browse files Browse the repository at this point in the history
… setup
  • Loading branch information
acrobat committed Jul 18, 2021
1 parent 96ae88c commit 10abdaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function onKernelRequest($event)
}

$route = $event->getRequest()->get('_route');
if (null === $route || $route === 'kunstmaan_admin_forced_change_password') {
if (null === $route || in_array($route, ['kunstmaan_admin_forced_change_password', 'fos_user_change_password'], true)) {
return;
}

Expand Down

0 comments on commit 10abdaf

Please sign in to comment.