Modify

Opened 16 years ago

#2953 new enhancement

fix for 0.11

Reported by: mandric@… Owned by: Waylan Limberg
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)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Waylan Limberg.

Add Comment


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

 
Note: See TracTickets for help on using tickets.