In Drupal core I've set up an "Action" and a "Trigger" so that a welcome message is sent to a user when they log in. When logging in with a username and Drupal authentication this works fine. When logging in using the Windows network password via LDAP authentication (which is also working fine) the login welcome message appears twice. It looks rather ugly. Any suggestions as to why this would be and how I can stop it? Thanks.

Comments

johnbarclay’s picture

Title: Duplication of user login message » LDAP Authentication: Duplication of user login message
Status: Active » Postponed (maintainer needs more info)

What exactly is the trigger? Perhaps that needs to be altered so its an event that only happens once. If you can figure out what function or hook triggers the trigger, I can figure out if this can be resolved.

This may also be an indication of a bug where one of the user_* functions is called more times than necessary.

13rac1’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Six weeks without response. Re-open to add more information.

darthf1’s picture

Version: 7.x-1.0-beta11 » 7.x-1.0-beta12
Status: Closed (works as designed) » Active

Same issue here, on Beta12.

When a user logs in via LDAP, (no extra actions or triggers defined here) the "Succesfull logged in" message is displayed twice.

johnbarclay’s picture

Version: 7.x-1.0-beta12 » 7.x-1.x-dev

Please always test against dev. Thanks.

darthf1’s picture

Just installed 7.x-1.x-dev, same story.

grahl’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Please reopen if still relevant in 7.x-2.x or supply a patch to 1.x.