mirror of
https://github.com/h44z/wg-portal.git
synced 2025-09-15 07:11:15 +00:00
fix: fix session handling (remove IdleTimeout)
This commit is contained in:
@@ -125,7 +125,7 @@ router.beforeEach(async (to) => {
|
||||
|
||||
router.afterEach(async (to, from) => {
|
||||
const sec = securityStore()
|
||||
const csrfPages = ['/login']
|
||||
const csrfPages = ['/', '/login']
|
||||
|
||||
if (csrfPages.includes(to.path)) {
|
||||
await sec.LoadSecurityProperties() // make sure we have a valid csrf token
|
||||
|
Reference in New Issue
Block a user