hello, i am beginner in web2py, and my problem is the login
this is the controller: def index(): user_auth = auth.login() user_auth.add_button('register me', URL('register_user')) #if auth.login():on this point i want authentication if the username and password are allready in the db #session.user_name = user_auth.vars.username #redirect(URL('welcome')) #else: #redirect(URL('invalid_user')) return dict(user_auth = user_auth) i simply want to check if the username and the password , which was entered by the user in the login form is in the auth.user database. I use the default table but name instead of e- mail. kind regards -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.