diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-05-21 12:19:56 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-05-21 19:58:36 -0400 |
commit | b270159aae97359afe02f3c4843fa0f4e9a1a1b6 (patch) | |
tree | 290eef118ce6ccab49471d3673bb7d51b24bb4c2 /ui/integration_show.go | |
parent | 44decae557a6f78eda57b8f407d35b10233538e4 (diff) |
Offer the possibility to set Pocket Consumer Key as environment variable
Diffstat (limited to 'ui/integration_show.go')
-rw-r--r-- | ui/integration_show.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/integration_show.go b/ui/integration_show.go index d368d85..31d374f 100644 --- a/ui/integration_show.go +++ b/ui/integration_show.go @@ -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")) } |