Well, I've found a solution that's not quite perfect but does the job when
working with "cookie" as the rememberer. Here is the link to the code which
I've placed in app_cfg.py. Feel free to use it if it is helpful.

http://pastebin.com/f5fd3a216

2009/1/10 heretoo <[email protected]>

>
> When I navigate to "/logout_handler", the RedirectingFormPlugin is
> calling HTTPNotAuthorized() as middleware, and the
> PluggableAuthenticationMiddleware.challenge is called which then first
> calls:
>
> 1. identifier.forget
> 2. plugin.challenge
>
> My question is, how do I get "identifier.forget" to be called but
> instead of challenging the user, instead redirect back to the
> come_from url (referrer). Is that at all possible, and how could I
> achieve this?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to