creativecommons / creativecommons/commoners
logout navlink being displayed even if a user isn't logged in
Open
🏷 status: label work required
🚧 status: blocked
🛠 goal: fix
- Dominant language
- PHP
- Stars
- 14
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
## Description
on the top navbar there is a *logout* link that asks user to logout even when he/she hasn't even logged in.
## Expectation
show the nav-link only when user session has started
## Resolution
- [x] I would be interested in resolving this bug.
Contributor guide
Research direction
Start by locating the top navbar and the logout link, then inspect how the current user session is checked. Done means unauthenticated visitors no longer see the logout link while logged-in users still do; verify both states in the relevant page flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100