Add Secure and SameSite cookie flags

This commit is contained in:
shibayashi 2018-08-28 00:40:58 +02:00
commit b9a642da1e
No known key found for this signature in database
GPG key ID: C10662A33EB28508
2 changed files with 5 additions and 2 deletions

View file

@ -24,7 +24,8 @@ config :pleroma, Pleroma.Web.Endpoint,
protocol: "https",
secret_key_base: "aK4Abxf29xU9TTDKre9coZPUgevcVCFQJe/5xP/7Lt4BEif6idBIbjupVbOrbKxl",
render_errors: [view: Pleroma.Web.ErrorView, accepts: ~w(json)],
pubsub: [name: Pleroma.PubSub, adapter: Phoenix.PubSub.PG2]
pubsub: [name: Pleroma.PubSub, adapter: Phoenix.PubSub.PG2],
secure_cookie_flag: true
# Configures Elixir's Logger
config :logger, :console,