or rather, on successful login, the form will redirect you to "came_from" and if you hit login and are logged in and redirect to login, you will rinse and repeat until http hits a limit.
-w
On Sep 14, 2012, at 1:27 AM, jdob <dobson...@gmail.com<mailto:dobson...@gmail.com>>
wrote:
I'm going through the wiki tutorial (SQLAlchemy + URL Dispatch)<
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorial...>. On the page describing authentication, line 7 of the code example<
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorial...> <
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorial...> under "Adding Login and Logout Views"<
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorial...> has the comment: "# never use the login form itself as came_from" but I don't see any indication about why.
Can anyone explain why? Thanks.
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/HpoCn3BeEo8J.
To post to this group, send email to pylons-discuss@googlegroups.com<mailto:pylons-discuss@googlegroups.com>.
To unsubscribe from this group, send email to pylons-discuss+unsubscribe@googlegroups.com<mailto:pylons-discuss+unsubscri be@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.