mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
Encryption is ready if master key is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user