Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Commit

Permalink
Renamed config variable to match django SESSION_COOKIE_AGE.
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusEdgar committed May 20, 2015
1 parent 44d29f2 commit 1cf0ed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/defaults.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ max_attachment_size = 2097152
loginless_ssh_fingerprints = false

# Set cookietimeout in seconds.
session_age = 1800
session_cookie_age = 1800

[filepaths]
# The on disk location of media files (does nothing right now).
Expand Down
2 changes: 1 addition & 1 deletion ratticweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def confgetbool(section, var, default):
# django-user-sessions
SESSION_ENGINE = 'user_sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
SESSION_COOKIE_AGE = int(config.get('ratticweb', 'session_age'))
SESSION_COOKIE_AGE = int(config.get('ratticweb', 'session_cookie_age'))

# Icon configuration
CRED_ICON_JSON = 'db/icons.json'
Expand Down

0 comments on commit 1cf0ed1

Please sign in to comment.