- π¨π¦Canada floydm
+1 on confirming this fixes an infinite redirect on sites with language prefixes. Please roll this into a release soon.
When requiring a user to modify their password, they get stuck in an infinite redirect loop.
The infinite redirect loop is caused by a mismatch in ForcePasswordChangeEventSubscriber.php:117
. The generated URL's contain a language prefix (EN), while the current path service returns the path without language prefix.
Instead of generating the URL from a route and comparing it to a path, chech the current route directly.
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
+1 on confirming this fixes an infinite redirect on sites with language prefixes. Please roll this into a release soon.