1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00

Offer the possibility to set Pocket Consumer Key as environment variable

This commit is contained in:
Frédéric Guillot 2018-05-21 12:19:56 -07:00
parent 44decae557
commit b270159aae
10 changed files with 31 additions and 19 deletions

View file

@ -61,6 +61,7 @@ func (c *Controller) ShowIntegrations(w http.ResponseWriter, r *http.Request) {
view.Set("menu", "settings")
view.Set("user", user)
view.Set("countUnread", c.store.CountUnreadEntries(user.ID))
view.Set("hasPocketConsumerKeyConfigured", c.cfg.PocketConsumerKey("") != "")
html.OK(w, view.Render("integrations"))
}