Clean temporary RackMultiPart* files using middleware

pull/5104/head
Oliver Günther 8 years ago
parent c8d1ec4d36
commit 6fcddd42ab
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 3
      config/application.rb

@ -106,6 +106,9 @@ module OpenProject
}
config.middleware.use Rack::Attack
# Ensure that tempfiles are cleared after request
# http://stackoverflow.com/questions/4590229
config.middleware.use Rack::TempfileReaper
config.middleware.use ::ResetCurrentUser
# Custom directories with classes and modules you want to be autoloadable.

Loading…
Cancel
Save