1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Revert cookie flag from strict to lax mode otherwise oauth2 won't work

This commit is contained in:
Frédéric Guillot 2018-09-09 14:25:56 -07:00
parent 46932c91a6
commit c1e1506720
3 changed files with 5 additions and 5 deletions

View file

@ -23,8 +23,8 @@ type SessionData struct {
}
func (s SessionData) String() string {
return fmt.Sprintf(`CSRF=%q, "OAuth2State=%q, FlashMsg=%q, FlashErrorMsg=%q, Lang=%q, Theme=%q`,
s.CSRF, s.OAuth2State, s.FlashMessage, s.FlashErrorMessage, s.Language, s.Theme)
return fmt.Sprintf(`CSRF=%q, OAuth2State=%q, FlashMsg=%q, FlashErrMsg=%q, Lang=%q, Theme=%q, PocketTkn=%q`,
s.CSRF, s.OAuth2State, s.FlashMessage, s.FlashErrorMessage, s.Language, s.Theme, s.PocketRequestToken)
}
// Value converts the session data to JSON.