diff options
author | 2017-12-16 18:07:53 -0800 | |
---|---|---|
committer | 2017-12-16 18:07:53 -0800 | |
commit | 00257988ef1707a028cd7dd0b1f8f68e6e8fac53 (patch) | |
tree | f54ccd93abb5054336baea1f0a4a99f8700fc81a /server/ui/controller/unread.go | |
parent | 58acd1d5e3a997d27f60549b51bdf41df900c6c6 (diff) | |
download | v2-00257988ef1707a028cd7dd0b1f8f68e6e8fac53.tar.gz v2-00257988ef1707a028cd7dd0b1f8f68e6e8fac53.tar.zst v2-00257988ef1707a028cd7dd0b1f8f68e6e8fac53.zip |
Session management refactoring
Diffstat (limited to 'server/ui/controller/unread.go')
-rw-r--r-- | server/ui/controller/unread.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/unread.go b/server/ui/controller/unread.go index 87faafc1..8cf8a38d 100644 --- a/server/ui/controller/unread.go +++ b/server/ui/controller/unread.go @@ -44,6 +44,6 @@ func (c *Controller) ShowUnreadPage(ctx *core.Context, request *core.Request, re "entries": entries, "pagination": c.getPagination(ctx.Route("unread"), countUnread, offset), "menu": "unread", - "csrf": ctx.CsrfToken(), + "csrf": ctx.CSRF(), }) } |