Zero
Zero copied to clipboard
Homepage shows incorrect button text for logged-in users
Bug Description
When a user is already authenticated but navigates manually to the /home route (e.g., by typing the URL), the homepage still displays “Sign In” button instead of reflecting the logged-in state. This creates a misleading experience, as the user is already signed in.
Steps to Reproduce
- Log in successfully and land in /main/inbox.
- Manually change the URL to /home.
- Observe the homepage still showing "Sign In" / "Get Started".
Expected Behavior
- The homepage should detect the user's session and show a “Go to Inbox” or equivalent button.
- Alternatively, the user should be redirected to /inbox.
Actual Behavior
- When navigating manually to /home, even after login, the UI still shows Sign In.
- It does not reflect the actual session state.
What browsers are you seeing the problem on?
Chrome
Application Version
Latest
Environment Information
- OS : Fedora
- Node js - recommended on contributing guidelines
- Chrome
Relevant Log Output
N/A
Hi @MrgSub, I would love to take this issue. I have already fixed it. Should I open a PR?