summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-04 10:49:58 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-06-04 10:49:58 +0200
commit4ee7a428ae691352138550f9bbd003cbe4dbe35f (patch)
tree21853b2642557ab26a6845aa15d1ee4d2cb597d1
parent14ac4fab054c332fe3a0e110bec6cb118bf83186 (diff)
downloadnextcloud-server-4ee7a428ae691352138550f9bbd003cbe4dbe35f.tar.gz
nextcloud-server-4ee7a428ae691352138550f9bbd003cbe4dbe35f.zip
link directly to the encryption settings
-rw-r--r--apps/files_encryption/templates/invalid_private_key.php2
-rw-r--r--apps/files_encryption/templates/settings-personal.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_encryption/templates/invalid_private_key.php b/apps/files_encryption/templates/invalid_private_key.php
index b0ff1db5993..5c086d6514c 100644
--- a/apps/files_encryption/templates/invalid_private_key.php
+++ b/apps/files_encryption/templates/invalid_private_key.php
@@ -1,6 +1,6 @@
<ul>
<li class='error'>
- <?php $location = \OC_Helper::linkToRoute( "settings_personal" ) ?>
+ <?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.')); ?>
<br/>
diff --git a/apps/files_encryption/templates/settings-personal.php b/apps/files_encryption/templates/settings-personal.php
index bacdc133375..20f18ae5287 100644
--- a/apps/files_encryption/templates/settings-personal.php
+++ b/apps/files_encryption/templates/settings-personal.php
@@ -6,6 +6,7 @@
<?php if ( ! $_["privateKeySet"] ): ?>
<p>
+ <a name="changePKPasswd" />
<label for="changePrivateKeyPasswd"><?php p( $l->t( "Your private key password no longer match your log-in password:" ) ); ?></label>
<br />
<em><?php p( $l->t( "Set your old private key password to your current log-in password." ) ); ?></em>