Author |
Topic  |
|
jswain
Starting Member
4 Posts |
Posted - 23 February 2007 : 05:55:18
|
Having installed the Snitz system on a number of websites for customers who want to keep thier websites at arms length, with minimal administration. I have been asked to create a Password Recovery system. Knowing that the SHA256 is a one way encryption system I have decided to create a password reset system, where a user can put in thier email address and the system searches the MySQL DB for the user using that email address, eamils them pointing them to a webpage with a 20 alphanumeric appended to the address, which needs to be stored in the database. This system is quiet like the system you use for registration, and I was wondering if there was a DB field I could use to store the random alphanumeric in?
After looking at the database structure, I though possibly the M_PWKEY field maybe appropriate? Could anyone let me know, or inform me where I could find, information about how the database structure relates to the forum system? |
Edited by - jswain on 23 February 2007 05:56:36 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 23 February 2007 : 05:59:03
|
Em ... what's wrong with the script in the base code for resetting forgotten passwords?
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
jswain
Starting Member
4 Posts |
Posted - 23 February 2007 : 06:07:03
|
Doesn't the standard reset system need to be done by an administrator? If this is the case the system I am trying to write would be initiated by the user and would not need an administrator to do anything. they get sent an email with a link to a page which the user can change the passowrd |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 23 February 2007 : 06:08:36
|
No, there's a "forgot password" link underneath (or beside) the login form that members can use to reset the password. You will need to have e-mail turned on in your admin options in order for it to show up.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
jswain
Starting Member
4 Posts |
Posted - 23 February 2007 : 06:10:33
|
Ahhh great cheers shaggy |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 23 February 2007 : 06:12:46
|
You're welcome.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
|
Topic  |
|