Merge pull request #21935 from nextcloud/backport/21929/stable19
[stable19] Encryption is ready if master key is enabled
This commit is contained in:
commit
74615c3fb5
|
@ -580,6 +580,9 @@ class Encryption implements IEncryptionModule {
|
|||
* @since 9.1.0
|
||||
*/
|
||||
public function isReadyForUser($user) {
|
||||
if ($this->util->isMasterKeyEnabled()) {
|
||||
return true;
|
||||
}
|
||||
return $this->keyManager->userHasKeys($user);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue