diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-05-07 21:11:30 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-05-14 02:04:13 +0300 |
commit | e9800b51f1faf5f442f05ed0b2310553d98c067c (patch) | |
tree | 339d91968214bd5798abc7aa49e2b0548f45567e /docs/.vuepress/config.js | |
parent | 2932165f02e5aa9241c080b188a0df9fea297775 (diff) | |
download | webui-vue-e9800b51f1faf5f442f05ed0b2310553d98c067c.tar.xz |
Clear XSRF token when navigating to Login
This will fix the WebSocket authentication error if redirected to
the Login page when a session is expired. The WebSocketPlugin checks
to see if the user is logged in before attempting to make a connection.
The AuthenticationStore determines if a user is logged in
based on whether or not the XSRF-TOKEN cookie exists. Currently the
app only removes this token if the user explicitly logs out from
the application header.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I9f2b7025ff1de21889267b8f56efd08930eb63d3
Diffstat (limited to 'docs/.vuepress/config.js')
0 files changed, 0 insertions, 0 deletions