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:
parent
46932c91a6
commit
c1e1506720
3 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue