In the beginning of the function webserver_auth_user, there is:

   if ($op == 'insert' && $category = 'account') {

I guess the '=' is a bug and was meant to be '=='.

Regards,
--
Yedidyah Bar David
System Administrator, ISOC-IL

CommentFileSizeAuthor
#3 webserver_auth-540474-3.patch945 bytescpliakas
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cpliakas’s picture

Confirmed the bug. Changing the title for transparency.

Thanks,
Chris

cpliakas’s picture

Title: Bug in webserver_auth_user » The "insert" operation in hook_user() is evaluated for every category due to an "assignment in operator" error

Definitely put the title in the wrong place. Feeling very dumb.

~Chris

cpliakas’s picture

Status: Active » Needs review
FileSize
945 bytes

Rolled a patch for good measure.

~Chris

gaards’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closed because Drupal 6 is no longer supported. Also, the code that is patched is not present in later versions of this module.