Skip to content

Commit

Permalink
added new session values in functional tests' app config
Browse files Browse the repository at this point in the history
  • Loading branch information
zenmonkeykstop committed Aug 17, 2022
1 parent 69b327b commit ffc09a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions securedrop/tests/functional/sd_config_v2.py
Expand Up @@ -19,6 +19,13 @@ class FlaskAppConfig:
# This is recommended for performance, and also resolves #369
USE_X_SENDFILE: bool = True

# additional config for JI Redis sessions
SESSION_SIGNER_SALT: str = "js_session"
SESSION_KEY_PREFIX: str = "js_session:"
SESSION_LIFETIME: str = 2 * 60 * 60
SESSION_RENEW_COUNT: str = 5
SESSION_KEY_PREFIX: str = "js_session:"


DEFAULT_SECUREDROP_ROOT = Path(__file__).absolute().parent.parent.parent

Expand Down

0 comments on commit ffc09a2

Please sign in to comment.