I have added an extra field in the auth_user and I want to check user's entry with a pre-poulated field (call field1) in another table (call Table1) when the user presses sign up. If a user's entry existed then set the registration_key to " " from "Pending". I formed the following from what I found which is not working: I added this in the user() function in defaults:
if request.args(0) == 'register' and request.vars._next == 1: if db.auth.settings.additionalfield == "123": db.auth.settings.registration_key=''" -- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/cae40e76-e829-4786-a8c2-3f30aec6ca66%40googlegroups.com.