mirror of
https://github.com/nextcloud/passman.git
synced 2025-11-12 07:01:35 +08:00
Merge branch 'fileUploadFix'
This commit is contained in:
commit
e9f07f9800
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ class EncryptService {
|
||||||
$userKey = '';
|
$userKey = '';
|
||||||
$userSuppliedKey = '';
|
$userSuppliedKey = '';
|
||||||
if ($file instanceof File) {
|
if ($file instanceof File) {
|
||||||
$userSuppliedKey = $file->getFilename();
|
$userSuppliedKey = $file->getSize();
|
||||||
$userKey = md5($file->getMimetype());
|
$userKey = md5($file->getMimetype());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue