Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When using ejectorseat with autologout module, autologout thinks ejectorseat ajax checks are user activity, and thus never logs out a user.
Ejectorseat needs to register its callback URL with autologout so it will be ignored.
function ejectorseat_autologout_prevent() {
if (arg(0) == 'ejectorseat' && arg(1) == 'check') {
return TRUE;
}
}
Comment | File | Size | Author |
---|---|---|---|
#2 | ejectorseat-register-autologout-2226873-2.patch | 433 bytes | deekayen |
Comments
Comment #1
RemovE CreditAttribution: RemovE commentedThanks
Comment #2
deekayen CreditAttribution: deekayen commentedComment #3
bernman CreditAttribution: bernman commentedThis patch has been included in the Guardr (https://www.drupal.org/project/guardr) distribution for several years without issue.