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 <[email protected]<mailto:[email protected]>> wrote: I'm going through the wiki tutorial (SQLAlchemy + URL Dispatch)<http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorials/wiki2/index.html>. On the page describing authentication, line 7 of the code example<http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorials/wiki2/authorization.html#adding-login-and-logout-views> <http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorials/wiki2/authorization.html#adding-login-and-logout-views> under "Adding Login and Logout Views"<http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorials/wiki2/authorization.html#adding-login-and-logout-views> 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 [email protected]<mailto:[email protected]>. To unsubscribe from this group, send email to [email protected]<mailto:[email protected]>. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
