diff options
author | r <r@freesoftwareextremist.com> | 2020-01-25 10:07:06 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-01-26 06:49:29 +0000 |
commit | bf2cfaf0ede0e9744408f52538fb4bcd87a6d5b8 (patch) | |
tree | 5d3be1dfa65395bddedd2fb6f06a990c23274f00 /model | |
parent | 5fdc7a59b2efc60e35f5421e28986c356810456e (diff) | |
download | bloat-bf2cfaf0ede0e9744408f52538fb4bcd87a6d5b8.tar.gz bloat-bf2cfaf0ede0e9744408f52538fb4bcd87a6d5b8.zip |
Add CSRF protection
Diffstat (limited to 'model')
-rw-r--r-- | model/session.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model/session.go b/model/session.go index fce6173..6bc8a63 100644 --- a/model/session.go +++ b/model/session.go @@ -12,6 +12,7 @@ type Session struct { ID string `json:"id"` InstanceDomain string `json:"instance_domain"` AccessToken string `json:"access_token"` + CSRFToken string `json:"csrf_token"` Settings Settings `json:"settings"` } |