We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Redirect issue after successful password reset operation

Development and Programming

Tansel's avatar
Tansel
32 posts
7 years ago
Tansel's avatar Tansel

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).

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.