From 930394b4215df68457d722bec50b82d41d496d20 Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Sat, 7 Feb 2026 14:16:43 -0800 Subject: [PATCH] Fix signup to redirect to login for business selection Instead of auto-selecting first business, redirect to login.html which shows the business selection dropdown for users with multiple businesses. Co-Authored-By: Claude Opus 4.5 --- portal/signup.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/portal/signup.html b/portal/signup.html index f6feb0b..3420b39 100644 --- a/portal/signup.html +++ b/portal/signup.html @@ -806,9 +806,8 @@ console.log('[Signup] myBusinesses response:', data); if (data.OK && data.BUSINESSES && data.BUSINESSES.length > 0) { - // Has businesses - go to portal - localStorage.setItem('payfrit_portal_business', data.BUSINESSES[0].BusinessID || data.BUSINESSES[0].BUSINESSID); - window.location.href = BASE_PATH + '/portal/index.html'; + // Has businesses - go to login for business selection + window.location.href = BASE_PATH + '/portal/login.html'; } else { // No businesses - go to wizard this.redirectToWizard();