On Friday, December 9, 2011 6:05:09 PM UTC-5, Constantine Vasil wrote:
>
> I believe this:
>
> if db(auth.table_user.email == form.vars.email).count():
>
>
Sorry, should be auth.settings.table_user.email. auth.settings.table_user 
is the user table, which is typically (but need not be) db.auth_user.
 

> should be:
>
> if (db.auth_user.email == form.vars.email).count():
>
>
db.auth_user.email is fine, assuming your db connection is 'db' and your 
user table is 'auth_user'.

Anthony

Reply via email to