Closed GiantCrocodile closed 2 years ago
I can reproduce the issue. I think optional chaining will fix the issue.
Somehow I am too stupid to get a timeout... 😅
This should do the trick to force a pretty immediate session timeout:
return [
'session' => [
'durationNormal' => 1,
'durationLong' => 1,
'timeout' => 1,
]
];
That's what I have, but no matter how long I stay away form the Panel, once I return and click around everything just works fine, no timeout.
Have you logged out and logged back in? The options only apply to new sessions.
I can reproduce the issue with following steps and options on 3.7.0. But not for develop
branch. I think, we can close the issue.
Issue steps for 3.7.0
application
tab<?php
return [
'debug' => true,
'session' => [
'durationNormal' => 15,
'timeout' => 5,
]
];
Ahh, I was only trying with develop. But maybe then it got fixed already.
Then I'm closing the issue because it seems to be fixed already. Of course, it will reopen if reoccurs the problem.
Description
When the timeout in the admin panel triggers, an error is thrown in the console:
Expected behavior
No error thrown.
Screenshots
To reproduce
Your setup
happened with latest v3.6 release as well as with 3.7.0 rc1
Console output
Your system (please complete the following information) Windows 11 with WAMP setup