[web2py] auth, redirect after login

2013-06-27 Thread royski
hello together, my problem is , i want a simply redirect after a user is logged in. i am using the auth setup from web2py: my db.py: auth = Auth(db) auth.define_tables(username=True) auth.settings.login_next = URL('welcome') this has no effect, after a user login the index page is

[web2py] auth(), check if name and password from login is in the database

2013-06-26 Thread royski
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

[web2py] Re: auth(), check if name and password from login is in the database

2013-06-26 Thread royski
thx for the quick answer Anthony, you save my day -- --- 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,