Skip to content

Commit

Permalink
Add a configuration for session timout delay depending on environement
Browse files Browse the repository at this point in the history
  • Loading branch information
louck committed Sep 24, 2024
1 parent 1f81418 commit a1570c1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server_environment_files/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"author": "Commown SCIC",
"license": "AGPL-3",
"website": "https://commown.coop",
"depends": ["server_environment", "web"],
"depends": [
"auth_session_timeout",
"server_environment",
"server_environment_ir_config_parameter",
"web",
],
"data": ["views/template.xml"],
"installable": True,
"active": False,
Expand Down
2 changes: 2 additions & 0 deletions server_environment_files/dev/base.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[ir.config_parameter]
inactive_session_time_out_delay=604800
2 changes: 2 additions & 0 deletions server_environment_files/production/base.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[ir.config_parameter]
inactive_session_time_out_delay=86400
2 changes: 2 additions & 0 deletions server_environment_files/test/base.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[ir.config_parameter]
inactive_session_time_out_delay=86400

0 comments on commit a1570c1

Please sign in to comment.