Skip to content
Snippets Groups Projects
Commit 499fe6ca authored by Florin Peter's avatar Florin Peter
Browse files

disabled FileProxy in Keymanager::getPrivateKey

parent ddedf201
No related branches found
No related tags found
No related merge requests found
......@@ -38,9 +38,14 @@ class Keymanager {
public static function getPrivateKey( \OC_FilesystemView $view, $user ) {
$path = '/' . $user . '/' . 'files_encryption' . '/' . $user.'.private.key';
$proxyStatus = \OC_FileProxy::$enabled;
\OC_FileProxy::$enabled = false;
$key = $view->file_get_contents( $path );
\OC_FileProxy::$enabled = $proxyStatus;
return $key;
}
......
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