Skip to content
Snippets Groups Projects
Commit 36c9d91f authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #7867 from owncloud/upload-dontclosesessionforencryption

Fix public upload to not close session when encryption is on
parents 531c9564 e72b2e6e
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,10 @@ if (empty($_POST['dirToken'])) {
OCP\JSON::callCheck();
\OC::$session->close();
if (!\OCP\App::isEnabled('files_encryption')) {
// encryption app need to create keys later, so can't close too early
\OC::$session->close();
}
// get array with current storage stats (e.g. max file size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment