View Full Version : Fetch password by email
eschamp
07-10-2008, 11:09 PM
I've run Account Manager Lite to password-protect certain directories on my over-55 community's website. But as people get older, they tend to forget their passwords, especially of they login only 1/week or less.
So they send me "Help! I forgot may password" emails and I have to look it up and respond.
I've asked that they print the resulting email and store it in a safe place, but at least one of them through it out when he got a new computer!
What I'm looking for is a way that they can send a request via an email address they've previously registered and have AML or another script send their password.
Do you know of any code I could add to AML?
Thanks.
FishMonger
07-11-2008, 05:27 PM
A better option would be to put a "Forgot Password" link in the login page that passes the username to another script that emails out the password to the email address that was registered.
Do you know Perl?
Or, are you looking for someone else to write it for you?
eschamp
07-11-2008, 07:05 PM
A better option would be to put a "Forgot Password" link in the login page that passes the username to another script that emails out the password to the email address that was registered.
Do you know Perl?
Or, are you looking for someone else to write it for you?
I don't have a login page per se. When the person attempts to access that webpage, a login box pops up.
I wrote a little Perl in the mid-90s but I'm not a Perl programmer by any means. I could probably adapt someone else's script if something close existed.
Thanks.
nkrgupta
07-11-2008, 07:45 PM
I don't have a login page per se. When the person attempts to access that webpage, a login box pops up.
I wrote a little Perl in the mid-90s but I'm not a Perl programmer by any means. I could probably adapt someone else's script if something close existed.
Thanks.
Seems to be htaccess/htpasswd (http://httpd.apache.org/docs/2.0/programs/htpasswd.html) authentication. Looks like the passwords are stored in plain text somewhere, from where you give it them back to the users.
I guess, as per FM's suggestion, you can have a Forgot Password page, or just a link somewhere, which calls up a script (the username being provided to it), and emails the password back to the user (pretty much the same way you find the passwords manually).
Regards
Naveen
eschamp
07-11-2008, 08:02 PM
Seems to be htaccess/htpasswd (http://httpd.apache.org/docs/2.0/programs/htpasswd.html) authentication. Looks like the passwords are stored in plain text somewhere, from where you give it them back to the users.
I guess, as per FM's suggestion, you can have a Forgot Password page, or just a link somewhere, which calls up a script (the username being provided to it), and emails the password back to the user (pretty much the same way you find the passwords manually).
Yes, it is htaccess/htpasswd authentication.
I think you're suggesting that I put a new page on the website, such as "Forgot Your Password?" which the user would go to when he fails to login.
Thanks.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.