"Explore" visible when disabled #12218

Closed
opened 2025-11-02 10:02:26 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @JVimes on GitHub (Dec 18, 2023).

Description

I set service.explore's REQUIRE_SIGNIN_VIEW but I still see the Explore link atop the login page. Clicking it doesn't go anywhere. Seems like a bug?

My config has:

[service.explore]
REQUIRE_SIGNIN_VIEW = true

Gitea Version

1.21.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

Self hosted in docker

Database

SQLite

Originally created by @JVimes on GitHub (Dec 18, 2023). ### Description I set `service.explore`'s `REQUIRE_SIGNIN_VIEW` but I still see the Explore link atop the login page. Clicking it doesn't go anywhere. Seems like a bug? My config has: ```ini [service.explore] REQUIRE_SIGNIN_VIEW = true ``` ### Gitea Version 1.21.1 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![image](https://github.com/go-gitea/gitea/assets/6148201/ae4e6fbb-c52d-4d15-90e3-1ee4ac14137b) ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Self hosted in docker ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 10:02:26 -06:00
Author
Owner

@yardenshoham commented on GitHub (Dec 18, 2023):

REQUIRE_SIGNIN_VIEW doesn't disable Explore, it only makes it redirect to the login page when clicked if you are not logged in.

@yardenshoham commented on GitHub (Dec 18, 2023): `REQUIRE_SIGNIN_VIEW` doesn't disable Explore, it only makes it redirect to the login page when clicked if you are not logged in.
Author
Owner

@JVimes commented on GitHub (Dec 18, 2023):

Ah, thanks. I thought it would hide it from navbar since I wasn't signed in.

@JVimes commented on GitHub (Dec 18, 2023): Ah, thanks. I thought it would hide it from navbar since I wasn't signed in.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12218