To support persistent login module added to autologout.module after Persistent D10 Upgrade
| Comment | File | Size | Author |
|---|---|---|---|
| autologout-persistent-support-fix.patch | 1.58 KB | subramani.msc2011 |
Issue fork autologout-3398250
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
admirlju commentedI've created an issue fork and tried to apply the patch to it, but it couldn't apply, so I manually added your code there. I also changed the code a bit, so Automated Logout will still work for anyone not using the Persistent Login module. It still needs review.
That said quick tests are working for me.
Comment #6
deaom commentedThere is an existing issue that addresses this in #3500246: Fix persistent login hashes checking. The existing issue does just change the if check, this one does a little more of a change. Up to maintainers to decide which way to go. I do think this one is older. Re-based branch, it needs to be changed from 8.x to 2.x and setting status to RTBC.
Comment #7
the_g_bomb commentedClosing this as a duplicate. Going with the approach in #3500246: Fix persistent login hashes checking.
The validation will also rotate the token and may burn through tokens unnecessarily.