Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module does not work correctly when module "secure pages" is enabled.
Masquerade table always saves current session id as sid, but if current user is using https, session_id() returns ssid, not sid.
As result correct masquerade data is not loaded then for the new user if he is not using https, also masquerade records are being deleted by cron as they don't match sid from sessions table.
Comments
Comment #1
bugster CreditAttribution: bugster commentedI guess this will fix it
Comment #2
deekayen CreditAttribution: deekayen commentedWhile not exactly duplicate, this should be resolved when #1926074: Remove {masquerade} table and rely on session flag only is committed.