Uh oh!
There was an error while loading. Please reload this page.
Allow to configure auto logout after browser inactivity - #20298
Conversation
Uh oh!
There was an error while loading. Please reload this page.
skjnldsv
left a comment
There was a problem hiding this comment.
Clever approach! Code looks great!
95d587a to
c21af6dComparerullzer
commented
Apr 6, 2020
/compile amend / |
c21af6d to
e311a21Compareskjnldsv
commented
Apr 7, 2020
Jsunit says no |
juliusknorr
commented
Apr 9, 2020
@ChristophWurst@skjnldsv Any idea how i could properly mock the loadState call in the legacy js tests? Otherwise I'd just add a fallback to |
skjnldsv
commented
Apr 9, 2020
oh wow 🙈 |
ChristophWurst
commented
Apr 9, 2020
I'm afraid you can't 😢 |
skjnldsv
commented
Apr 11, 2020
I guess this will be for 20 ? |
| * | ||
| * Defaults to ``false`` | ||
| */ | ||
| 'auto_logout' => false, |
There was a problem hiding this comment.
We should probably make sure that if this is set to true we don't generate a remember me cookie
efc016c to
6052f82CompareUh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
rullzer
commented
Apr 23, 2020
Guess this is good to go |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6052f82 to
a143e36Comparejuliusknorr
commented
Apr 23, 2020
So this took me quite some time to figure out why the legacy jsunit tests failed. I pushed a workaround for now (see a143e36 for details), but ideally we should move those tests to the new chai/sinon tests. I'll give that a try in a follow up. |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
skjnldsv
commented
Apr 24, 2020
It passed |
skjnldsv
commented
Apr 27, 2020
So, this recently broke viewer's tests ^^ server/lib/private/Template/JSConfigHelper.php Lines 97 to 107 in cbd2086 Requires 11 arguments, while 10 are passed here: server/core/Controller/OCJSController.php Lines 81 to 92 in 5bf3d1b |
skjnldsv
commented
Apr 27, 2020
Fixing |
skjnldsv
commented
Apr 27, 2020
Fix in #20678 |
With this a a browser will automatically log out the user after no activity during
session_lifetimeeven if thesession_keepaliveis enabled.