Skip to content

Commit

Permalink
there is no RuntimeSessionAdapter anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Sep 25, 2024
1 parent f6b2ad5 commit 08d1fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plausible_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ defmodule PlausibleWeb.Endpoint do
end

@session_options [
# in EE key is replaced, dynamically via RuntimeSessionAdapter, see below
# in EE key is replaced dynamically via runtime_session_opts, see below
key: "_plausible_key",
store: :cookie,
signing_salt: "I45i0SKHEku2f3tJh6y4v8gztrb/eG5KGCOe/o/AwFb7VHeuvDOn7AAq6KsdmOFM",
# 5 years, this is super long but the SlidingSessionTimeout will log people out if they don't return for 2 weeks
max_age: 60 * 60 * 24 * 365 * 5,
extra: "SameSite=Lax"
# in EE domain is added dynamically via RuntimeSessionAdapter, see below
# in EE domain is added dynamically via runtime_session_opts, see below
]

socket("/live", Phoenix.LiveView.Socket,
Expand Down

0 comments on commit 08d1fea

Please sign in to comment.