aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-25 10:07:06 +0000
committerr <r@freesoftwareextremist.com>2020-01-26 06:49:29 +0000
commitbf2cfaf0ede0e9744408f52538fb4bcd87a6d5b8 (patch)
tree5d3be1dfa65395bddedd2fb6f06a990c23274f00 /renderer
parent5fdc7a59b2efc60e35f5421e28986c356810456e (diff)
downloadbloat-bf2cfaf0ede0e9744408f52538fb4bcd87a6d5b8.tar.gz
bloat-bf2cfaf0ede0e9744408f52538fb4bcd87a6d5b8.zip
Add CSRF protection
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go
index cc0a6ce..25fa0c6 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -10,12 +10,14 @@ type Context struct {
FluorideMode bool
ThreadInNewTab bool
DarkMode bool
+ CSRFToken string
}
type HeaderData struct {
Title string
NotificationCount int
CustomCSS string
+ CSRFToken string
}
type NavbarData struct {