feat: hide GitHub links for normal users

Add DISABLE_SHOW_GITHUB_FOR_USER to hide the Header GitHub/version entry from normal users while keeping it visible to admin users. Refs #1041
This commit is contained in:
Dream Hunter
2026-05-21 23:38:49 +08:00
committed by GitHub
parent 2221342560
commit 44b29aa646
12 changed files with 21 additions and 5 deletions
+1
View File
@@ -93,6 +93,7 @@ ENABLE_AUTO_REPLY = false
# Footer text
# COPYRIGHT = "Dream Hunter"
# DISABLE_SHOW_GITHUB = true
# DISABLE_SHOW_GITHUB_FOR_USER = true
# Status monitoring page URL
# STATUS_URL = "https://status.example.com"
# default send balance, auto initialized when users open settings or send mail; if not set, it will be 0