On Friday February 6, 2009 06:57:34 Lukasz Szybalski wrote: > On Fri, Jan 30, 2009 at 1:45 PM, Gustavo Narea <[email protected]> wrote: > > Hello, everybody. > > > > The new release of repoze.what-quickstart allows us to define post-login > > and/or post-logout pages, which are useful to handle failed logins, > > succeed logins and logouts in a friendly (and totally extensible) way. > > > > Here's where I introduced this feature: > > http://trac.turbogears.org/changeset/6202 > > > > Existing applications which want this feature, may apply the diff in the > > root.py and login.html files. Please notice that you don't *have* to > > update your code if you don't want to, since this is backwards > > compatible. > > > > For more a detailed information, check: > > http://code.gustavonarea.net/repoze.what-quickstart/ > > > > I hope you will enjoy it! > > > > PS: Don't forget to `setup.py develop` after updating your working copy. > > Was this tested with script_name being set properly?. If this is part > of the tg2b5 then the login doesn't work when app is run under the > script name. The login by default is redirected to a "/post_login" > instead of "domain/script_name/post_login" > > http://www.wsgi.org/wsgi/Specifications/routing_args > see SCRIPT_NAME > > Can we fix this aka encode the 2 functions in a url(), or fix it in > repoze. code. > > Thanks, > Lucas > > For the record, this conversation continue on the Repoze mailing list.
(Sorry for the noise) -- Gustavo Narea <http://gustavonarea.net/>. Get rid of unethical constraints! Get freedomware: http://www.getgnulinux.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
