diff --git a/apps/files_encryption/templates/invalid_private_key.php b/apps/files_encryption/templates/invalid_private_key.php index b0ff1db5993bb17150fb72ccb3c5be1efbab6f5f..5c086d6514c1297fb80d5aaea13b9cf90ff3a5ba 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 bacdc1333753fa18eec7cf00a28ead1fd96b63d6..20f18ae528732af057c946e8414e3f7da3d7ab1b 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>