#2114: Fix logout_handler to respect script path
-----------------------------------------------+----------------------------
Reporter: mramm | Owner: Gustavo
Type: defect | Status: closed
Priority: normal | Milestone: 2.0b2
Component: TurboGears | Version: trunk
Severity: normal | Resolution: fixed
Keywords: upstream, repoze.what.plugins.sql |
-----------------------------------------------+----------------------------
Changes (by Gustavo):
* keywords: => upstream, repoze.what.plugins.sql
* status: assigned => closed
* resolution: => fixed
Comment:
This has been solved in repoze.what.plugins.sql-1.0a4.
To use it on TG2, you may use the following settings (which are all
optional) in ''your_app.config.app_cfg'':
{{{
base_config.sa_auth.login_url = '/myapp/login'
base_config.sa_auth.login_handler = '/myapp/login_handler'
base_config.sa_auth.logout_url = '/myapp/logout'
}}}
I'm adding this info into the TG2 docs right now.
Replying to [comment:3 lszyba1]:
> I think this bug is somewhere here:
There was no bug in repoze.who, it was just that the repoze.what SQL
plugin did not have the ability to set custom login/logout related URLs.
Enjoy!
--
Ticket URL: <http://trac.turbogears.org/ticket/2114#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---