Changes between Initial Version and Version 14 of Ticket #8486
- Timestamp:
- Nov 27, 2015, 4:13:20 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8486
- Property Status new → closed
- Property Component general → web frontend
- Property Milestone → 0.12
- Property Owner set to
- Property Resolution → fixed
-
Ticket #8486 – Description
initial v14 1 1 Currently, the `LoginModule` sets (and deletes) a cookie on `req.base_path`: 2 2 3 {{{ 3 {{{#!python 4 4 req.outcookie['trac_auth'] = cookie 5 5 req.outcookie['trac_auth']['path'] = req.base_path or '/' 6 6 }}} 7 7 8 {{{ 8 {{{#!python 9 9 def _expire_cookie(self, req): 10 10 """Instruct the user agent to drop the auth cookie by setting the … … 20 20 It would be nice for this to be configurable, so that, optionally the cookie path could be specified as an `Option` with the current behavior being the fallback if the `Option` is not set. 21 21 22 The reason I would like this is so that cookies can be parseable via multiple Trac environments on the same server, optionally. Currently, (in the soon to be released SharedCookieAuthPlugin) I work around this with a monkey-patch:22 The reason I would like this is so that cookies can be parseable via multiple Trac environments on the same server, optionally. Currently, (in the soon to be released [th:SharedCookieAuthPlugin]) I work around this with a monkey-patch: 23 23 24 {{{ 24 {{{#!python 25 25 class GenericObject(object): 26 26 def __init__(self, **kw):