diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-11 14:20:46 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-11 14:20:46 +0200 |
commit | 39d710e737da31111f62b44abf30b0be95246c99 (patch) | |
tree | b2eefe4f0800be7dc1caab4b8be1c74dae452457 /apps/files_encryption/templates | |
parent | 4336d42ab095c304d0a46bb30c2d0203e606597e (diff) | |
download | nextcloud-server-39d710e737da31111f62b44abf30b0be95246c99.tar.gz nextcloud-server-39d710e737da31111f62b44abf30b0be95246c99.zip |
block file access if share keys are missing
Diffstat (limited to 'apps/files_encryption/templates')
-rw-r--r-- | apps/files_encryption/templates/invalid_private_key.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/templates/invalid_private_key.php b/apps/files_encryption/templates/invalid_private_key.php index 9af65f831b4..a3cae60b1da 100644 --- a/apps/files_encryption/templates/invalid_private_key.php +++ b/apps/files_encryption/templates/invalid_private_key.php @@ -4,7 +4,7 @@ <?php p($_['message']); ?> <br/> - <?php if($_['init']): ?> + <?php if($_['errorCode'] === \OCA\Encryption\Crypt::ENCRYPTION_PRIVATE_KEY_NOT_VALID_ERROR): ?> <?php>p($l->t('Go directly to your ')); ?> <a href="<?php echo $location?>"><?php p($l->t('personal settings')); ?>.</a> <?php endif; ?> <br/> |