[Zope-PTK] Email validation?

Shane Hathaway shane@digicool.com
Tue, 20 Feb 2001 17:12:05 -0500


Jens Vagelpohl wrote:
> 
> AFAIK this is a deprecated attribute, or it could be used to implement a
> validator. grepping through the code for the PTK i cannot find a single
> instance where it is used after being set on the portal object.
> 
> someone correct me if i am wrong...

You mean 'validate_email'?  Yes, that is supposed to work.  The
implementation is in PTKDemo.

> and i don't think setting this attribute was meant to set a policy like
> "don't ask for a password for new members upon joining"...

Indeed it is.  When validate_email is set, the password is generated
automatically and mailed to the user, thus completing a loop that
guarantees the user's e-mail address is correct.

I don't know what's happening on Nolan's site, though.

Shane

> On 2/20/01 16:19, "Nolan Darilek" <nolan_d@bigfoot.com> wrote:
> 
> > I may have found another issue. Is email validation working? Despite
> > having checked the email validation box under the properties tab of
> > the portal object, I'm still prompted for a password when
> > joining. This is with a CVS checkout which I made 10 minutes ago, and
> > from a freshly-created portal.
> 
> _______________________________________________
> Zope-PTK maillist  -  Zope-PTK@zope.org
> http://lists.zope.org/mailman/listinfo/zope-ptk
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests