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
e5468409b5
commit
c215255771
|
@ -405,7 +405,7 @@ class KeyManager {
|
|||
return '';
|
||||
}
|
||||
|
||||
if ($this->util->isMasterKeyEnabled()) {
|
||||
if (!is_null($uid) && $this->util->isMasterKeyEnabled()) {
|
||||
$uid = $this->getMasterKeyId();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue