Re: authentication docs

43 views
Skip to first unread message

Whit Morriss

unread,
Sep 14, 2012, 11:06:15 AM9/14/12
to <pylons-discuss@googlegroups.com>
just a guess, endless loops make for bad user experience?

-w

On Sep 14, 2012, at 1:27 AM, jdob <dobs...@gmail.com>
 wrote:

I'm going through the wiki tutorial (SQLAlchemy + URL Dispatch). On the page describing authentication, line 7 of the code example under "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 pylons-...@googlegroups.com.
To unsubscribe from this group, send email to pylons-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.

Whit Morriss

unread,
Sep 14, 2012, 11:07:24 AM9/14/12
to <pylons-discuss@googlegroups.com>
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.

jdob

unread,
Sep 14, 2012, 8:26:06 PM9/14/12
to pylons-...@googlegroups.com, wh...@surveymonkey.com
Ah ok got it.  Somehow I missed the part about redirecting to came_from.  Thanks.
Reply all
Reply to author
Forward
0 new messages