Support Forums

Password Reset option sending two different password

This is a discussion on Password Reset option sending two different password within the Technical Support forums, part of the Technical Support Forums category; Hi, If a user forgets his password, there is the option of receiving a reset link. Once this reset link ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 07-21-2009, 02:42 AM   #1
Member
 
Join Date: Nov 2008
Posts: 82
Rep Power: 13
Isje is on a distinguished road
Default Password Reset option sending two different password

Hi,

If a user forgets his password, there is the option of receiving a reset link. Once this reset link is clicked on, a new automatically generated password is sent to the user. But TWO different passwords are sent out! Of which the latest is the correct one.

Any idea why this happens?

Thanks

EDIT: the version of the userforgot.php file is * @version $Revision: 14 $
__________________
Using v4.1.5 Developer
NuStyle Template

Last edited by Isje; 07-21-2009 at 03:14 AM.
Isje is offline  
Old 07-21-2009, 10:31 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

In the latest version it sends two emails but not at once.

When they click forgot password it sends an email with a link they must follow to reset the password. Once they click that link another email is sent with the new password.

If that is not what is happening on your site then I would recommend upgrading.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 07-21-2009, 01:12 PM   #3
Member
 
Join Date: Nov 2008
Posts: 82
Rep Power: 13
Isje is on a distinguished road
Default

Quote:
Originally Posted by Eric Barnes
In the latest version it sends two emails but not at once.

When they click forgot password it sends an email with a link they must follow to reset the password. Once they click that link another email is sent with the new password.

If that is not what is happening on your site then I would recommend upgrading.
Hi Eric,
Indeed, it sends first a link that should be followed, but once they click on the link two emails containing two different passwords are sent out.

I just saw that my 6month free upgrade has expired. Is there something I can change somewhere to resolve this?

Thanks, Isje
__________________
Using v4.1.5 Developer
NuStyle Template
Isje is offline  
Old 07-21-2009, 01:38 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I just tested it on my site and it worked fine. Only one email.

Open includes/classes/kernel/Mailer.php and see if it is this revision:
* @version $Revision: 308 $
* @Updated: $Date: 2009-03-31 11:40:15 -0400 (Tue, 31 Mar 2009) $
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 07-22-2009, 05:58 AM   #5
Member
 
Join Date: Nov 2008
Posts: 82
Rep Power: 13
Isje is on a distinguished road
Default

Hi Eric, yes this is the version I have as well.
Thanks again, Isje

Quote:
Originally Posted by Eric Barnes
I just tested it on my site and it worked fine. Only one email.

Open includes/classes/kernel/Mailer.php and see if it is this revision:
* @version $Revision: 308 $
* @Updated: $Date: 2009-03-31 11:40:15 -0400 (Tue, 31 Mar 2009) $
__________________
Using v4.1.5 Developer
NuStyle Template
Isje is offline  
Old 07-23-2009, 06:53 AM   #6
Member
 
Join Date: Nov 2008
Posts: 82
Rep Power: 13
Isje is on a distinguished road
Default

Hi Eric, any more suggestions?

Thanks!
__________________
Using v4.1.5 Developer
NuStyle Template
Isje is offline  
Old 07-23-2009, 07:01 AM   #7
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Why not upgrade to 4.1.4 ? or reinstall your core files. I think 90% of issues I see in support are solved by re-installing because they are not issues or bugs at all (they are file transfer corruptions, missing files, bad edits, etc). If I had a dollar for every time I have had to propose that files are uploaded again I would be a wealthy man - LOL . Ty re-installing your core files.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline  
Old 07-23-2009, 09:37 AM   #8
Member
 
Join Date: Nov 2008
Posts: 82
Rep Power: 13
Isje is on a distinguished road
Default

Quote:
Originally Posted by seymourjames
Why not upgrade to 4.1.4 ? or reinstall your core files. I think 90% of issues I see in support are solved by re-installing because they are not issues or bugs at all (they are file transfer corruptions, missing files, bad edits, etc). If I had a dollar for every time I have had to propose that files are uploaded again I would be a wealthy man - LOL . Ty re-installing your core files.
Hi Eric,
Why not upgrade? My free upgrade term has expired, and I find upgrading a bit tricky as I've made quite a few changes already...

When you say, re-install the core files, which files do you mean exactly?
Will I have to run the setup again?

And what will happen to the files I've edited already?

Sorry for the so many questions

Isje
__________________
Using v4.1.5 Developer
NuStyle Template
Isje is offline  
Old 07-23-2009, 09:54 AM   #9
Member
 
Join Date: Nov 2008
Posts: 82
Rep Power: 13
Isje is on a distinguished road
Default

The strange thing is that after I shortened the lenght of the password from 15 characters to 6 the behaviour of sending two passwords stopped. So now it sends only 1 new password. Any idea why?

I find the current way of resetting a password quite lengthy.
Is there a way to just resend the password used when registering?
This instead of sending a reset link, and then a new password?

Thanks again
__________________
Using v4.1.5 Developer
NuStyle Template
Isje is offline  
Old 07-23-2009, 10:03 AM   #10
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

No that is not possible because the password is encrypted in the database. The only way to send a lost password is to create a new one.

We added the validation step to keep folks from requesting a new password for someone other than themselves.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customer area password reset problem redmtnex Technical Support 1 08-16-2008 06:16 PM
ftp password goyadi Technical Support 1 05-30-2008 09:54 PM
Admin password Grebogreen Technical Support 1 04-26-2007 06:55 PM


All times are GMT -4. The time now is 02:47 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0