Closed (fixed)
Project:
Simple Autologout
Version:
8.x-1.8
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Dec 2022 at 10:58 UTC
Updated:
4 Jan 2023 at 10:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
noorulshameera commentedAdding patch to make code inside simpleautologout_page_attachments() should work only for authenticated user
Comment #3
scambler commentedThank you @noorulshameera
I am also wondering if there is any use using PrivateTempStore? From what I can see, the session time is set and then immediately called again in the next line. I have recently had a client's site go down because the tempstore was locked, causing an exception on every page.
This:
Could simply become:
$simpleautologout_session_time = time();This would also apply to simpleautologout_user_login()
Comment #4
scambler commentedI have created a combined patch:
Comment #5
abhishek.kumar commentedPatch 4 is giving errot so updated it.
Comment #7
abhishek.kumar commentedApplied patch
Comment #8
abhishek.kumar commented