diff options
author | Frédéric Guillot <fred@miniflux.net> | 2019-01-21 20:21:05 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-01-21 20:21:05 -0800 |
commit | 7897d8a8ad87c0bb26bb8156ba09fc9fab62f565 (patch) | |
tree | 9043558e58d7fa34a122d626f03ebd79aac010da /ui/ui.go | |
parent | 6378ad27342da3b4c531539bcf2c539b4ac92c57 (diff) |
Handle the case when application session is expired and not user session
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,8 +22,8 @@ func Serve(router *mux.Router, cfg *config.Config, store *storage.Storage, pool handler := &handler{router, cfg, store, template.NewEngine(cfg, router), pool, feedHandler} uiRouter := router.NewRoute().Subrouter() - uiRouter.Use(middleware.handleAppSession) uiRouter.Use(middleware.handleUserSession) + uiRouter.Use(middleware.handleAppSession) // Static assets. uiRouter.HandleFunc("/stylesheets/{name}.css", handler.showStylesheet).Name("stylesheet").Methods("GET") |