Skip to content

Commit

Permalink
Merge pull request #428 from jmpsec/session-name-change
Browse files Browse the repository at this point in the history
Using different cookie name to avoid conflicts
  • Loading branch information
javuto authored Apr 6, 2024
2 parents 3d13b23 + 955406e commit af0a7c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions admin/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ const (
carveLevel string = "carve"
)

// Using the default name for the cookie in SAML:
// https://github.com/crewjam/saml/blob/main/samlsp/session_cookie.go#L11
const (
authCookieName = "token"
authCookieName = "osctrl-admin-session"
)

// Handler to check access to a resource based on the authentication enabled
Expand Down

0 comments on commit af0a7c1

Please # to comment.