From b8fcc3a196754dce21d6f5df66f990300d78c763 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Sun, 28 Dec 2025 18:30:13 +0100 Subject: [PATCH] fix: add logout button to vendor onboarding page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The onboarding page was a standalone page with no way to log out, leaving users stuck. Added: - Logout button in the header - handleLogout() function to clear vendor tokens and redirect to login ๐Ÿค– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/templates/vendor/onboarding.html | 6 ++++++ static/vendor/js/onboarding.js | 29 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/app/templates/vendor/onboarding.html b/app/templates/vendor/onboarding.html index e866cc0c..31a3177b 100644 --- a/app/templates/vendor/onboarding.html +++ b/app/templates/vendor/onboarding.html @@ -23,6 +23,12 @@ Wizamart + + +