I have never tried this but I am not sure you can have those forms in the 
same page. Apart for the incorrect redirect, do they both work?

On Tuesday, 24 September 2013 13:09:51 UTC-5, raferbop wrote:
>
> def index():
>    return dict(logform=auth.login(),regform=auth.register())
>
> I put these two forms from the Auth module on the index page, inside a 
> modal but when I login/register I am redirected to a profile page instead 
> of the index page. What can I do to prevent the redirect or go the index 
> page?
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to