![]() |
Utility for Users who Forget Passwords? - Printable Version +- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com) +-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html) +--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html) +--- Thread: Utility for Users who Forget Passwords? (/thread-103.html) |
Utility for Users who Forget Passwords? - Stephen - 01-13-2010 glowball 2005-12-20 14:48:27 PST Has anyone written a utility for users who cannot log in because they have forgotten their password? They're one-way encrypted so we can't retrieve them, but they could be reset much like in the User Admin area. Is this planned for a future release? Great product, thanks! logart 2005-12-21 06:05:07 PST Sounds like a valid request. You should add this as a Feature Request.... steve glowball 2005-12-21 10:57:59 PST I wrote something that lets people reset their passwords: - starts as a link below the log in form - asks for a username - if the username is found it sends them an email to the address in the database with a security code - they follow the link and the security code is checked - if the security code passes they can reset their password - redirects them to the form so they can log in with the new password Please post to this thread with your email address if you would like me to email you the PHP file. You have to add one column to the user table to hold the password reset code, and add a link to the log in form page (index.php). We have different formatting so I've stripped the formatting out, so you'll have to add your own HTML/CSS formatting in. logart 2005-12-21 15:19:56 PST If you add that as a patch then I can include that with the next release. ![]() glowball 2005-12-21 15:35:30 PST Great, I didn't realize I could add it that way. It's in there now, thanks! Let me know if anything is weird or doesn't make sense. |