Modify

Opened 6 years ago

#2953 new enhancement

fix for 0.11

Reported by: mandric@… Owned by: waylan
Priority: normal Component: DjangoAuthIntegration
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

To get this to work on 0.11b2 i needed this patch to djangoauth/djangoauth.py .

23,25c23,25
<             cookie = req.incookie['sessionid']
<             sid = cookie.OutputString()[10:-1]
<             authname = self._get_name_from_django(sid)
---
>             #cookie = req.incookie['sessionid']
>             #sid = cookie.OutputString()[10:-1]
>             authname = self._get_name_from_django(req.incookie['sessionid'].value)

After you modify it, build it with python setup.py bdist_egg and copy to plugins dir. I think an apache graceful restart is usually a good idea as well.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.