Commit 91464e7
committed
fix: Clear saved sessions in restoreState()
As in the comment, user sessions created between `saveState()` and `restoreState()` are not present in the database, but exist in the web server . Using them will create instabilities, so we clear them all to prevent session errors.
Signed-off-by: Louis Chemineau <louis@chmn.me>1 parent ed5d28c commit 91464e7
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
0 commit comments