diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-06 12:27:40 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-06 12:27:40 +0200 |
commit | fb462e83ccde5c46565c23545c5eb894acbd6fd3 (patch) | |
tree | 4b334e82c8e61247419f4120b18922fc923f5cf7 /apps/files_encryption/templates | |
parent | 69b1625f0e368e65771fef473f4b4d4a13456354 (diff) | |
download | nextcloud-server-fb462e83ccde5c46565c23545c5eb894acbd6fd3.tar.gz nextcloud-server-fb462e83ccde5c46565c23545c5eb894acbd6fd3.zip |
no longer enforce log out, but provide useful errors/warnings instead
Diffstat (limited to 'apps/files_encryption/templates')
-rw-r--r-- | apps/files_encryption/templates/invalid_private_key.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_encryption/templates/invalid_private_key.php b/apps/files_encryption/templates/invalid_private_key.php index 5c086d6514c..9af65f831b4 100644 --- a/apps/files_encryption/templates/invalid_private_key.php +++ b/apps/files_encryption/templates/invalid_private_key.php @@ -2,9 +2,11 @@ <li class='error'> <?php $location = \OC_Helper::linkToRoute( "settings_personal" ).'#changePKPasswd' ?> - <?php p($l->t('Your private key is not valid! Maybe the your password was changed from outside.')); ?> + <?php p($_['message']); ?> <br/> - <?php p($l->t('You can unlock your private key in your ')); ?> <a href="<?php echo $location?>"><?php p($l->t('personal settings')); ?>.</a> + <?php if($_['init']): ?> + <?php>p($l->t('Go directly to your ')); ?> <a href="<?php echo $location?>"><?php p($l->t('personal settings')); ?>.</a> + <?php endif; ?> <br/> </li> </ul> |