Encryption is ready if master key is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
0a90eeb62c
commit
ba55e0ad53
|
@ -580,6 +580,9 @@ class Encryption implements IEncryptionModule {
|
||||||
* @since 9.1.0
|
* @since 9.1.0
|
||||||
*/
|
*/
|
||||||
public function isReadyForUser($user) {
|
public function isReadyForUser($user) {
|
||||||
|
if ($this->util->isMasterKeyEnabled()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return $this->keyManager->userHasKeys($user);
|
return $this->keyManager->userHasKeys($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue