From bb48c55c2e0d130402b706595a39f69a4b8a7be1 Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Sun, 15 Feb 2026 18:38:43 -0600 Subject: [PATCH] feat: Removed trouble logging in button --- docs/USER-GUIDE.md | 2 +- frontend/nginx.conf | 4 +++ .../sections/GettingStartedSection.tsx | 2 +- frontend/src/pages/HomePage.tsx | 31 +------------------ 4 files changed, 7 insertions(+), 32 deletions(-) diff --git a/docs/USER-GUIDE.md b/docs/USER-GUIDE.md index 6df755c..50163f5 100644 --- a/docs/USER-GUIDE.md +++ b/docs/USER-GUIDE.md @@ -108,7 +108,7 @@ First-time users see an onboarding flow with three steps: ### Trouble Logging In -If you are having trouble logging in, click the **Trouble logging in?** link in the top-right corner of the navigation bar. This will guide you through password reset and account recovery options. +If you are having trouble logging in, try the following password reset and account recovery options. --- diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 71dd051..f7d4407 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -16,6 +16,10 @@ http { root /usr/share/nginx/html; index index.html; + + # Prevent nginx from including internal port in redirects + # (Traefik handles external-facing port 443) + absolute_redirect off; # Handle client-side routing location / { diff --git a/frontend/src/pages/GuidePage/sections/GettingStartedSection.tsx b/frontend/src/pages/GuidePage/sections/GettingStartedSection.tsx index 2e46d69..82bfb1a 100644 --- a/frontend/src/pages/GuidePage/sections/GettingStartedSection.tsx +++ b/frontend/src/pages/GuidePage/sections/GettingStartedSection.tsx @@ -131,7 +131,7 @@ export const GettingStartedSection = () => {

Trouble Logging In

- If you are having trouble logging in, click the Trouble logging in? link in the top-right corner of the navigation bar. This will guide you through password reset and account recovery options. + If you are having trouble logging in, try the following password reset and account recovery options.

diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx index da7eea8..88a65c5 100644 --- a/frontend/src/pages/HomePage.tsx +++ b/frontend/src/pages/HomePage.tsx @@ -6,10 +6,9 @@ import { FeaturesGrid } from './HomePage/FeaturesGrid'; import { motion } from 'framer-motion'; export const HomePage = () => { - const { loginWithRedirect, isAuthenticated, logout } = useAuth0(); + const { loginWithRedirect, isAuthenticated } = useAuth0(); const [mobileMenuOpen, setMobileMenuOpen] = useState(false); const [isScrolled, setIsScrolled] = useState(false); - const [sessionCleared, setSessionCleared] = useState(false); const navigate = useNavigate(); useEffect(() => { @@ -42,22 +41,6 @@ export const HomePage = () => { navigate('/signup'); }; - const handleClearSession = async () => { - try { - const { indexedDBStorage } = await import('../core/utils/indexeddb-storage'); - await indexedDBStorage.clearAll(); - Object.keys(localStorage).forEach(key => { - if (key.startsWith('@@auth0')) localStorage.removeItem(key); - }); - logout({ openUrl: false }); - setSessionCleared(true); - setTimeout(() => setSessionCleared(false), 3000); - } catch (error) { - console.error('[HomePage] Failed to clear session:', error); - window.location.reload(); - } - }; - return (

{/* Navigation Bar */} @@ -107,12 +90,6 @@ export const HomePage = () => { > Login -
{/* Mobile Menu Button */} @@ -184,12 +161,6 @@ export const HomePage = () => { > Login - )}