Skip to content

Commit

Permalink
Merge pull request #2907 from acrobat/fix-fos-user-listener-bug
Browse files Browse the repository at this point in the history
[AdminBundle] Fix redirect loop for installation without new authentication setup
  • Loading branch information
acrobat authored Jul 19, 2021
2 parents 96ae88c + 10abdaf commit 7df662e
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 7df662e

Please sign in to comment.