From 205d5a5a2485f3cd20e9f1bc20acbdbc80191356 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Wed, 4 Oct 2023 15:33:52 -0500 Subject: [PATCH] Add back @session_options --- lib/chess_web/endpoint.ex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/chess_web/endpoint.ex b/lib/chess_web/endpoint.ex index e418114..9a5b77a 100644 --- a/lib/chess_web/endpoint.ex +++ b/lib/chess_web/endpoint.ex @@ -1,6 +1,12 @@ defmodule ChessWeb.Endpoint do use Phoenix.Endpoint, otp_app: :chess + @session_options [ + store: :cookie, + key: "_chess_key", + signing_salt: "9LqUhZTU" + ] + if sandbox = Application.compile_env(:chess, :sandbox) do plug(Phoenix.Ecto.SQL.Sandbox, sandbox: sandbox) end