Skip to content

Commit

Permalink
로그인 세션 소멸 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas-yoon committed Jan 19, 2018
1 parent 92b7565 commit b1690e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dmoj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@

# Cookies
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_COOKIE_AGE = 60 * 60 # in seconds

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.11/howto/static-files/
Expand Down

0 comments on commit b1690e6

Please sign in to comment.