Add CSRF protection

This commit is contained in:
r 2020-01-25 10:07:06 +00:00
parent 5fdc7a59b2
commit bf2cfaf0ed
13 changed files with 219 additions and 48 deletions

View file

@ -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 {