Welcome Guest, Not a member yet? Register   Sign In
Lost Password
#2

[eluser]Bhashkar Yadav[/eluser]
you can create simple database table
Code:
CREATE TABLE IF NOT EXISTS `user_keys` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `unique_key` varchar(12) NOT NULL,
  `date` int(10) NOT NULL,
  PRIMARY KEY (`reset_id`)
)

insert into this table while user's request for lost password with random generated unique_key. And email the url of reset password, unique_key as url segment.

you can do further Smile


Messages In This Thread
Lost Password - by El Forum - 02-05-2012, 04:20 PM
Lost Password - by El Forum - 02-05-2012, 08:25 PM
Lost Password - by El Forum - 02-05-2012, 08:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB