creativecommons / creativecommons/commoners

logout navlink being displayed even if a user isn't logged in

Open
#420 1 comment 0 reactions 0 assignees View on GitHub
🏷 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.