mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fixed missing parameter
This commit is contained in:
parent
4ecd62e58d
commit
c52fe12537
1 changed files with 4 additions and 2 deletions
|
|
@ -119,8 +119,10 @@ class Hooks {
|
|||
// is in use (client-side encryption does not have access to
|
||||
// the necessary keys)
|
||||
if ( Crypt::mode() == 'server' ) {
|
||||
|
||||
$session = new Session();
|
||||
|
||||
$view = new \OC_FilesystemView( '/' );
|
||||
|
||||
$session = new Session($view);
|
||||
|
||||
// Get existing decrypted private key
|
||||
$privateKey = $session->getPrivateKey();
|
||||
|
|
|
|||
Loading…
Reference in a new issue