aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/templates
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-11 14:20:46 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-11 14:20:46 +0200
commit39d710e737da31111f62b44abf30b0be95246c99 (patch)
treeb2eefe4f0800be7dc1caab4b8be1c74dae452457 /apps/files_encryption/templates
parent4336d42ab095c304d0a46bb30c2d0203e606597e (diff)
downloadnextcloud-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.php2
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/>