Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(authentication): delete cookie (in chrome) on logout (DEV-325) (#…
  • Loading branch information
subotic committed Dec 16, 2021
1 parent 55b5d4b commit b2c9204
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -327,7 +327,8 @@ trait Authenticator extends InstrumentationSupport {
domain = cookieDomain,
path = Some("/"),
httpOnly = true,
expires = Some(DateTime(1970, 1, 1, 0, 0, 0))
expires = Some(DateTime(1970, 1, 1, 0, 0, 0)),
maxAge = Some(0)
)
)
),
Expand Down
Expand Up @@ -162,7 +162,8 @@ class AuthenticationV1E2ESpec
domain = Some(settings.cookieDomain),
path = Some("/"),
httpOnly = true,
expires = Some(DateTime(1970, 1, 1, 0, 0, 0))
expires = Some(DateTime(1970, 1, 1, 0, 0, 0)),
maxAge = Some(0)
)
)
)
Expand Down

0 comments on commit b2c9204

Please sign in to comment.