mirror of
https://github.com/nextcloud/server.git
synced 2026-03-27 04:43:20 -04:00
Fix public link for master key
In public link mode there is no session, so the code should use the public key instead.
This commit is contained in:
parent
b79211e4ae
commit
43c081bdc9
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ class KeyManager {
|
|||
return '';
|
||||
}
|
||||
|
||||
if ($this->util->isMasterKeyEnabled()) {
|
||||
if (!is_null($uid) && $this->util->isMasterKeyEnabled()) {
|
||||
$uid = $this->getMasterKeyId();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue