If you select role based auto logout the timeout is always the default value. It does not change if you set some roles with lower values, this looks to be down to a logic issue.

I have attached a patch that should sort out this issue (also cleans up a couple of space issues in the same area.

Comments

Race.it’s picture

StatusFileSize
new2.58 KB

This is another patch to stop user variables being set if that option is not on. (i.e. dont set user specific timeouts unless the variable is set for this.)

Race.it’s picture

StatusFileSize
new2.03 KB

here is a third patch that only checks the timeouts of roles that are enabled, and not just over all the roles that the users may have.

BasH’s picture

+ if (variable_get('autologout_allow_individual_user_timeouts', FALSE) {

should be

+ if (variable_get('autologout_allow_individual_user_timeouts', FALSE)) {

johnennew’s picture

Status: Active » Closed (duplicate)

Thanks for the report. This will be fixed by the backport of :
http://drupal.org/node/1700706#comment-7397972

Marking this a duplicate.