[#923] Deps config adjustment (no override for httpoison), code analysis issues fixes.
This commit is contained in:
parent
baffdcc480
commit
eadafc88b8
4 changed files with 5 additions and 4 deletions
|
|
@ -60,7 +60,8 @@ defmodule Pleroma.Web.Endpoint do
|
|||
|
||||
same_site =
|
||||
if Pleroma.Config.get([:auth, :oauth_consumer_enabled]) do
|
||||
# Note: "SameSite=Strict" prevents sign in with external OAuth provider (no cookies during callback request)
|
||||
# Note: "SameSite=Strict" prevents sign in with external OAuth provider
|
||||
# (there would be no cookies during callback request from OAuth provider)
|
||||
"SameSite=Lax"
|
||||
else
|
||||
"SameSite=Strict"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue