diff --git a/nginx/public_html/handlers/App.js b/nginx/public_html/handlers/App.js index d290595..bede62e 100644 --- a/nginx/public_html/handlers/App.js +++ b/nginx/public_html/handlers/App.js @@ -58,6 +58,8 @@ const logout_request_handler = function(state, dispatch, e){ api.post('/logout', {}); // we dispatch after the API call because the logout action clears the session_id, which is needed to logout dispatch('logout-requested'); + // after logout, clear the bin: + new_bin_handler(state, dispatch); }; const bin_name_editing_toggle_button_handler = function(state, dispatch){ dispatch('update-bin-name-editing', !state.is_editing_bin_name);