Closed (fixed)
Project:
Masquerade
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2006 at 16:36 UTC
Updated:
28 Mar 2006 at 23:45 UTC
I don't know much about this module, but I'm assuming 'sid' is referring to session id? So maybe this is something new in the way 4.7 handles session id's, but at any rate, when switching users, the sid is not inserted into the table, which therefore makes it impossible to switch back.
The menu item is not available to switch back, and when you navigate to masquerade/unswitch, it says "access denied". I tried adding $user->sid = session_id(); before the INSERT query, and then the menu item showed up (and it inserted a session id into the table), but when I tried to switch back, it just logged me out.
cheers...
Comments
Comment #1
q0rban commentedwell i replaced all instances of
$user->sidwithsession_id(), and inserted$edit_user->sid = session_id();in the'logout'case ofmasquerade_user(), and it seems to have fixed the problem...Comment #2
merlinofchaos commentedThis was true in the 4.6 version as well. (The 4.7 version was written first, in fact).
Fixed in both.
Comment #3
(not verified) commented