>
> now it creates a duplicate auth_user record
>

Note, the line I provided should replace this line:

db.auth_user.insert(**db.auth_user._filter_fields(form.vars))

If you're getting duplicate entries, I suspect you added my line rather 
than replacing the original.

and still gives the value "None"
>

Note, my line stores the id in a variable called "user_id". If you're still 
getting None, perhaps you are still using your old code.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to