While dealing with the member templates I noticed that all redirects are working fine except one.
I can’t get the correct redirect after successful password reset operation unless I make the change below.
line 966 of mod.member_auth.php
from
$return = reduce_double_slashes(ee()->functions->fetch_site_index() . '/' . $seg);
to
$return = reduce_double_slashes(ee()->functions->fetch_site_index());
Without this change, redirect adds the path string from the “data-thumb-preview” attribute of one of the links from my nav menu. It is usually the last sub-menu item’s of first top level main menu item. And my nav menu code is in the header file inserted into the member templates.
Is this a bug? or related to my settings? I also worry if this workaround may affect other redirect(s).
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.