I am using Craft 2 and trying to forward users to the right template according to the current active site's language when they reset their password. The problem is that the reset URL that Craft creates and sends the user's email only forwards it to the primary site.
To be more clear, if the user changed site language to Germany and sends for a reset password request, the URL sent to his email sends him to the primary site, which is the French one.
I added the setPasswordPath in the config file as such:
'setPasswordPath' => array( 'de' => 'de/passwordreset' 'fr' => 'passwordreset', ),
But still not working. What am I doing wrong?