From 605b03bfbd36e41819000ee0aed80df3c767b069 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 25 Nov 2025 09:27:51 +0100 Subject: fix login dialog and logout --- static/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'static/index.js') diff --git a/static/index.js b/static/index.js index e67d234..338d636 100644 --- a/static/index.js +++ b/static/index.js @@ -59,7 +59,8 @@ const month_select = MonthSelect.new({ const upload_bar = UploadBar.new(); const settings = SettingsView.new({ - onlogout: () => { + onlogout: async () => { + await api.session.drop(); login.show(); main.active_view = image_viewer; settings.profile = null; -- cgit v1.2.3-70-g09d2