summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-24 10:20:34 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-24 10:20:34 +0000
commit409cfcfccb04fad071b860325e5253a1c5e4a4ea (patch)
treecb7bca8a2b17fd2c545d7388b2899b56ec6b6381 /config
parent4cd22dcc5595f32519fbb43329e33106127c29b6 (diff)
downloadredmine-409cfcfccb04fad071b860325e5253a1c5e4a4ea.tar.gz
redmine-409cfcfccb04fad071b860325e5253a1c5e4a4ea.zip
Config variable must be set (#21058).
git-svn-id: http://svn.redmine.org/redmine/trunk@14736 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/application.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index e4e0097d4..d062d6018 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -57,6 +57,9 @@ module RedmineApp
# Sets the Content-Length header on responses with fixed-length bodies
config.middleware.use Rack::ContentLength
+ # Verify validity of user sessions
+ config.redmine_verify_sessions = true
+
# Specific cache for search results, the default file store cache is not
# a good option as it could grow fast. A memory store (32MB max) is used
# as the default. If you're running multiple server processes, it's