If you do not log in for a long time on the login interface, "Page Expire" will appear when you log in again.
Describe the Bug
If you do not log in for a long time on the login interface, "Page Expire" will appear when you log in again.
Steps to Reproduce
1.Open the Login Page 2.Idle Time 3.Attempt to Log In 4.Observe the Behavior
Expected Behaviour
Upon attempting to log in after inactivity, a "Page Expire" message is displayed, preventing login.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v24.1.19
Hi @VincentZhang777, Thanks for raising, but this is expected since your session would have invalidated so the form submission couldn't pass CSRF checks.
While this could be an annoyance, I don't think it's a large enough one to work around with extra complexity since this specific case (of waiting on a page before performing an action) has rarely been raised, if at all in the past.
Perhaps JavaScript could be used to monitor the length of idle time and respond accordingly, such as reloading the page. Would implementing something like that introduce additional complexity?