mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
Do not show secrets in plain text on the /about page
This commit is contained in:
parent
5f9d6fd81b
commit
87d58987a6
3 changed files with 20 additions and 11 deletions
|
@ -31,7 +31,7 @@ func (h *handler) showAboutPage(w http.ResponseWriter, r *http.Request) {
|
|||
view.Set("user", user)
|
||||
view.Set("countUnread", h.store.CountUnreadEntries(user.ID))
|
||||
view.Set("countErrorFeeds", h.store.CountUserFeedsWithErrors(user.ID))
|
||||
view.Set("globalConfigOptions", config.Opts.SortedOptions())
|
||||
view.Set("globalConfigOptions", config.Opts.SortedOptions(true))
|
||||
view.Set("postgres_version", h.store.DatabaseVersion())
|
||||
|
||||
html.OK(w, r, view.Render("about"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue