aboutsummaryrefslogtreecommitdiffhomepage
path: root/model
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-05-20 15:29:14 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-05-20 15:29:14 -0700
commit7f2fd1fdd85a62b187ad901d4917e561e39e37b2 (patch)
tree635fd7622cda67a0b9a422e093edee0b2bbc7399 /model
parent0f3f5e442f81d37a03618d0df5ea8f0524a24029 (diff)
Add Pocket authorization flow in the user interface
Diffstat (limited to 'model')
-rw-r--r--model/session.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/model/session.go b/model/session.go
index 25f0388..763f709 100644
--- a/model/session.go
+++ b/model/session.go
@@ -13,11 +13,12 @@ import (
// SessionData represents the data attached to the session.
type SessionData struct {
- CSRF string `json:"csrf"`
- OAuth2State string `json:"oauth2_state"`
- FlashMessage string `json:"flash_message"`
- FlashErrorMessage string `json:"flash_error_message"`
- Language string `json:"language"`
+ CSRF string `json:"csrf"`
+ OAuth2State string `json:"oauth2_state"`
+ FlashMessage string `json:"flash_message"`
+ FlashErrorMessage string `json:"flash_error_message"`
+ Language string `json:"language"`
+ PocketRequestToken string `json:"pocket_request_token"`
}
func (s SessionData) String() string {