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.
If you login using FB connect, and then turn off javascript and log out of Drupal, you are redirected to logout of Facebook first, but never actually logged out of Drupal. This is because D7 changed the order of things in the user_logout
function:
http://api.drupal.org/api/drupal/modules--user--user.pages.inc/function/...
http://api.drupal.org/api/drupal/modules--user--user.pages.inc/function/...
Comment | File | Size | Author |
---|---|---|---|
#1 | fb-1308330-logout-js.patch | 481 bytes | Steven Jones |
Comments
Comment #1
Steven Jones CreditAttribution: Steven Jones commentedAnd here's a patch.
Comment #2
ianthomas_ukThis patch works for me
Comment #3
Dave Cohen CreditAttribution: Dave Cohen commentedCleaning issue queue.
I don't recall exactly when, but that hook_user_logout is actually no longer used. I removed it with a comment about "causing problems" but sadly can't remember exactly what I was referring to. D'oh!
I know this is an old issue, but if you test logout again without javascript I'd be interested to know if it works. I think its a rare case to enable javascript temporarily then disable it. Right?