aboutsummaryrefslogtreecommitdiff
path: root/modern/src/MainToolbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/MainToolbar.js')
-rw-r--r--modern/src/MainToolbar.js1
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');
}
})