aboutsummaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js3
1 files changed, 2 insertions, 1 deletions
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;