When logging in and accepting the T&C, users should be logged in normally. Current code attempts to do this, but it is implemented incorrectly.
The following patch fixes the issue. Users are now properly logged in after accepting T&C.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | legal.560548_1.patch | 277 bytes | Anonymous (not verified) |
| #3 | legal-6.x-2.2-beta4.patch | 467 bytes | cizar |
| legal.module.patch | 1.03 KB | entendu |
Comments
Comment #1
a.bond commentedI'm not sure if my problem is the same as this, but I've had some customers report that when they login and accept the T&C, they get a “User Id cannot be verified” error. Also, when someone who is not logged in attempts to go to the login page, the T&C flashes briefly before redirecting them to the login page.
Comment #2
christefano commentedThis works for me. Thanks, entendu!
a.bond, I think you're having a separate issue. In any case, please review this patch if you can and report back.
Comment #3
cizar commentedI'm having the same problem with Presflow-6.19. Here is my solution, it works fine.
Comment #4
a.bond commentedChristefano, I'm not seeing the problem anymore. Not sure what changed.
Comment #5
recidive commentedCan you guys tell me if this problem still occurs in HEAD?
Comment #6
seakayjay commentedI'm using Pressflow 6.19. I'm having the same issue with the 6.x-2.3-rc1 release.
Comment #7
seakayjay commentedEverything works fine with me after inserting the code as given in #3
Right after
cache_clear_all($user->uid, 'cache_menu', TRUE);Insert
sess_regenerate();Comment #8
wonder95 commentedWas having this same issue and the suggestion by @kuanjian in #7 fixed it.
Comment #9
Anonymous (not verified) commentedI can confirm that the patch against the legal module (DRUPAL-6--2-3-RC1) fixes the problem on the latest version of pressflow downloaded from http://fourkitchens.com/downloads and also does not result in any problems for the legal module on ordinary installations of Drupal.
Best,
Paul Booker
Appcoast
Comment #10
robert castelo commentedThanks for patches and testing.
Fixed in Legal 6.x-2.4-rc2