Skip to content

Commit

Permalink
fix settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellahinator committed Nov 25, 2023
1 parent 6bcd54a commit 6faf733
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@

ALLOWED_HOSTS = []

# Set session cookie age to 1 day (adjust as needed)
SESSION_COOKIE_AGE = 24 * 60 * 60


# Application definition

INSTALLED_APPS = [
Expand Down Expand Up @@ -66,7 +62,7 @@
SESSION_COOKIE_SAMESITE = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SAMESITE = None
SESSION_COOKIE_AGE = 24 * 60 * 60 # Set session cookie age to 1 day (adjust as needed)

REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': [
Expand Down

0 comments on commit 6faf733

Please sign in to comment.