init Session/privateKeys on Master Key

I can't find another way to init the session ...
This commit is contained in:
Maxence Lange 2016-11-22 13:19:42 -01:00 committed by GitHub
parent b5fab4ed9c
commit 558a934842

View file

@ -406,6 +406,9 @@ class KeyManager {
}
if ($this->util->isMasterKeyEnabled()) {
if ($this->session->getStatus() === Session::NOT_INITIALIZED)
$this->init('', '');
$uid = $this->getMasterKeyId();
}