I think I misunderstood your answer the first time I read it.
Am Freitag, 27. Oktober 2017 15:39:33 UTC+2 schrieb Anthony:
>
> The Auth login method adds _next as a hidden input in the login form, so
> _next ends up in both request.get_vars and request.post_vars. Because
> request.vars combines
Reading your answer I realize, that I'm not doing it "the right way" :)
I don't know when I added the next-parameter to the return value, but that
was clearly a mistake. I'll remove it and try again!
Many thanks for your answer,
Silvan
--
Resources:
- http://web2py.com
- http://web2py.com/book
The Auth login method adds _next as a hidden input in the login form, so
_next ends up in both request.get_vars and request.post_vars. Because
request.vars combines get_vars and post_vars and each of those includes a
"_next" key, request.vars ends up with _next being a list including the
values
Sry, forgot to mention: Ubuntu Linux Ubuntu 14.04.5 LTS with
web2py 2.15.2-stable
--
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 mess
4 matches
Mail list logo