diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/session-heartbeat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/session-heartbeat.js b/core/src/session-heartbeat.js index 9902bef882a..38db6b49a5c 100644 --- a/core/src/session-heartbeat.js +++ b/core/src/session-heartbeat.js @@ -126,7 +126,7 @@ const registerAutoLogout = () => { const timeout = Date.now() - config.session_lifetime * 1000 if (lastActive < timeout) { console.info('Inactivity timout reached, logging out') - const logoutUrl = generateUrl('/logout') + '?requesttoken=' + getRequestToken() + const logoutUrl = generateUrl('/logout') + '?requesttoken=' + encodeURIComponent(getRequestToken()) window.location = logoutUrl } }, 1000) |