Skip to content

Commit

Permalink
add PHPSESSID to Session Cookie Whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
speatzle committed Nov 18, 2021
1 parent f790467 commit b0187ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ func (c *Client) Login(ctx context.Context) error {
// Session Cookie in older Passbolt Versions
} else if cookie.Name == "CAKEPHP" {
c.sessionToken = *cookie
// Session Cookie in Cloud version?
} else if cookie.Name == "PHPSESSID" {
c.sessionToken = *cookie
}
}
if c.sessionToken.Name == "" {
Expand Down

0 comments on commit b0187ae

Please sign in to comment.