On Friday, December 9, 2011 6:33:54 PM UTC-5, Constantine Vasil wrote:
>
> It should be:   
>   if db(auth.user.email == form.vars.email).count():
>
> but auth.user is None because the user is logged of.
>

No, you're not checking whether the email is from the current logged in 
user, you are simply checking whether the submitted email address is in the 
auth_user table (i.e., the equivalent of IS_IN_DB(db, 'auth_user.email')).

Anthony 

Reply via email to