diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-06 15:07:13 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-06 15:07:13 -0700 |
commit | cc03e41dd7f9f401797f39eb08e7d4617d624a2f (patch) | |
tree | 73e35b23c5d4d0f06382ec3ebd4c4da86611e65d /modern/src/MainToolbar.js | |
parent | d04cd5a9ca34f0528f3db6361641d20bc1a13320 (diff) | |
download | trackermap-web-cc03e41dd7f9f401797f39eb08e7d4617d624a2f.tar.gz trackermap-web-cc03e41dd7f9f401797f39eb08e7d4617d624a2f.tar.bz2 trackermap-web-cc03e41dd7f9f401797f39eb08e7d4617d624a2f.zip |
Fix duplicate loading
Diffstat (limited to 'modern/src/MainToolbar.js')
-rw-r--r-- | modern/src/MainToolbar.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js index bf4aa402..038ab30a 100644 --- a/modern/src/MainToolbar.js +++ b/modern/src/MainToolbar.js @@ -46,6 +46,7 @@ const MainToolbar = () => { const handleLogout = () => { fetch('/api/session', { method: 'DELETE' }).then(response => { if (response.ok) { + document.authenticated = false; history.push('/login'); } }) |