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.
The modules "Remember me" or "Persistant login" ables the user to stay logged in. The Automated Logout module forces that user to be logged off anyway. Is there a way to check if the user want to be "remembered" and keep the session?
Comment | File | Size | Author |
---|---|---|---|
#6 | autologout-no_logout_on_remember_me-1604994-7461474.patch | 1.58 KB | johnennew |
#4 | autologout-no_logout_on_remember_me-1604994-7461224.patch | 1.58 KB | johnennew |
#2 | autologout-no_logout_on_remember_me-1604994.patch | 622 bytes | rdatar |
Comments
Comment #1
dandrews CreditAttribution: dandrews commentedWhat I am getting is that you want it so if a user checks the box to "Keep me logged in"/"Remember me" what ever its titled, they will not be autologedout. And if the user does not click that box to be autologedout. It seems to be almost a niche market however it shouldn't be hard to add. Ill add it to my list and will post back within a few days with progress or a patch.
Comment #2
rdatar CreditAttribution: rdatar commentedYou can try this patch for autologout & remember_me to sync up.
With this patch, if the user has set remember_me as TRUE using remember_me module, the on-idle timeout generated by autologout is ignored.
Ideal when you want autologout for non-remember_me users while wanting remember_me to set custom timeout for users clicking remember_me.
Comment #3
johnennew CreditAttribution: johnennew commentedMoving to head to check if this can be added to the supported 4.x branch.
Comment #4
johnennew CreditAttribution: johnennew commentedPatch for 7.x-4.x branch attached with tests.
Comment #5
johnennew CreditAttribution: johnennew commentedTests pass! Committed to 7.x-4.x, setting to 6.x-4.x for the back port
Comment #6
johnennew CreditAttribution: johnennew commentedbackport for 6.x-4.x attache for review
Comment #7
johnennew CreditAttribution: johnennew commentedTests pass! Committed to 6.x-4.x branch. Closing issue.