The webserver_auth module overwrites the user variable if $user->uid doesn't match what is in the authmap table. This throws off the masquerade module when it tries to set the $user variable to someone with a different uid. (Its module weight is -10, so it always does this before webserver_auth.)

The attached is a small patch to allow masquerade to work alongside webserver_auth. Is there any chance of adding this support to the module?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Aron Novak’s picture

Issue summary: View changes
FileSize
808 bytes

Attempt to support it under D7

Aron Novak’s picture

Version: 6.x-1.0 » 7.x-1.x-dev
Status: Active » Needs review