Skip to content

Commit 832da47

Browse files
author
roniahmadi
committed
feat update login error
1 parent 8e673bc commit 832da47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projekpi/settings.py

+2
Original file line numberDiff line numberDiff line change
@@ -253,3 +253,5 @@ def CAN_LOGIN_AS(request, target_user):
253253
LOGINAS_LOGOUT_REDIRECT_URL = reverse_lazy("admin:index")
254254
LOGINAS_REDIRECT_URL = "/admin"
255255
X_FRAME_OPTIONS = 'ALLOW-FROM *'
256+
SESSION_COOKIE_SAMESITE = 'None' # As a string
257+
SESSION_COOKIE_SECURE = True

0 commit comments

Comments
 (0)