Active
Project:
Redis SSI
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2012 at 13:47 UTC
Updated:
2 May 2012 at 13:47 UTC
Drupal core behaviour is to regenerate the session id when a user changes their password. When using redis_ssi, this will create an inconsistency between the value stored in the cookie (and therefore sent with each request) and the value stored initially in Redis (thanks to the code in redis_ssi_user_login()).
My proposed solution is in the patch attached. Quite straightforwardly, it relies on hook_user_update() to resync the session id to Redis, should it be required.
| Comment | File | Size | Author |
|---|---|---|---|
| redis_ssi-sync-session-id.patch | 1.06 KB | vincenzo |