[Zope] Emailing user password

Matt Hamilton matth at netsight.co.uk
Fri Apr 23 11:46:50 EDT 2004


Brian Sullivan wrote:

> I am trying to set up code to email a forgotten password to a user.
> 
> I have a handle on the email process -- what I seem to be having a problem
> with is given the userID determining user's password in a Python script.
> Anybody have sample code or url describing a method to do this.

AFAIK, passwords are stored in a hashed form by default in newer Zopes 
which means that you will not be able to do this.  You will have to 
generate a new password for the user and mail that to them.

-Matt


-- 
Matt Hamilton                                       matth at netsight.co.uk
Netsight Internet Solutions, Ltd.        Business Vision on the Internet
http://www.netsight.co.uk                             +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting



More information about the Zope mailing list