mirror of
https://github.com/miniflux/v2.git
synced 2025-09-30 19:22:11 +00:00
refactor: remove model.UserSessions
struct
This commit is contained in:
parent
84078c7c20
commit
f2976bff5d
3 changed files with 5 additions and 13 deletions
|
@ -25,7 +25,9 @@ func (h *handler) showSessionsPage(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
sessions.UseTimezone(user.Timezone)
|
||||
for _, sess := range sessions {
|
||||
sess.UseTimezone(user.Timezone)
|
||||
}
|
||||
|
||||
sess := session.New(h.store, request.SessionID(r))
|
||||
view := view.New(h.tpl, r, sess)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue