Page 1 of 1

Reset password link redirecting to home page

Posted: Thu Jun 14, 2012 7:24 pm
by bwelburn
reset email looks like this:
Hello,

We received a request to reset the password associated with this email address. If you made this request, please follow the instructions below.

If you did not request to have your password reset, you can safely ignore this email. We assure you that your customer account is safe.

The user name associated with your email address is marty@columbiacustombuilt.com

Click the link below to reset your password:

http://www.spitbits.com/store/PasswordH ... N4puYEsSy6

If clicking the link doesn't work, you can copy and paste the link into your browser's address window, or retype it there. Once you have returned to SpitBits.com, we will give you instructions for resetting your password.

The link redirects to : http://www.spitbits.com/store/Default.aspx
Whether you click or copy and paste in browser.

Any help to get the password reset working is appreciated.

Thank you,
Brent

version
AbleCommerce for ASP.NET
VERSION: 7.0.6.14312
MSSQL v2000
AC SCHEMA v2000
.NET CLR v2.0.50727.3634
ASP.NET TRUST: Unrestricted

Re: Reset password link redirecting to home page

Posted: Fri Jul 06, 2012 12:19 am
by mikek
Hello,

It seems that the user account related to this password reset has been disabled or locked out. PasswordHelp checks if the account is active and redirects
to site home url in case the user account is not active.

If the password reset is for a regular user account you can login and enable the user account trough the AbleCommerce admin interface. If the user account
is your Ablecommerce superuser/admin account the account can be reactivated following instructions provided in the wiki:

http://wiki.ablecommerce.com/index.php/ ... d_Recovery

Re: Reset password link redirecting to home page

Posted: Fri Jul 06, 2012 10:23 am
by AbleMods
mikek wrote:It seems that the user account related to this password reset has been disabled or locked out. PasswordHelp checks if the account is active and redirects
to site home url in case the user account is not active.
LOL 5 years I've been working with AC7 and never knew that !!

Re: Reset password link redirecting to home page

Posted: Fri Jul 06, 2012 11:29 am
by mikek
The implementation is in : ConLib\PasswordHelpPage.ascx.cs

if ((_User == null) || (!_User.IsApproved)) Response.Redirect(NavigationHelper.GetHomeUrl());