I finally found a solution. It's like Jonathan Lundell explained in this thread https://groups.google.com/forum/#!topic/web2py/LUCVm9pKX28:
The normal call, form=auth(), is dynamic (see Auth.__call__), and returns > the form that's appropriate to the request URL. Auth.register() does a > redirect to profile if the user is logged in. > Now I could work around this problem. Maybe it's a good idea to mention this in the documentation and to make this behavior configurable. -- 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.