Broken link for Settings in Email (Sub-directories website)

We have noticed that members from our Forum receive emails with a broken link (except if they are already logged in their browser).

It leads to this: /en/login-preferences
Instead of this: /community/forum/login-preferences

Seems like the link does not work with forums in sub-directories, as our website is instead of So there is an automatic redirection that happens when not logged in, and it does not lead to the appropriate path to actually adjust the preferences.

Can this be fixed?


Thanks for reporting that issue. While debugging I noticed an additional bug, so I fixed both of them.