mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-08 04:27:12 +08:00
Fix for revisions
This commit is contained in:
parent
01d07314ff
commit
cc6cc0251d
1 changed files with 3 additions and 1 deletions
|
@ -93,7 +93,9 @@ angular.module('passmanApp')
|
||||||
var _credential = _revision.credential_data;
|
var _credential = _revision.credential_data;
|
||||||
|
|
||||||
if(!$scope.storedCredential.hasOwnProperty('acl') && $scope.storedCredential.hasOwnProperty('shared_key')){
|
if(!$scope.storedCredential.hasOwnProperty('acl') && $scope.storedCredential.hasOwnProperty('shared_key')){
|
||||||
key = EncryptService.decryptString(angular.copy($scope.storedCredential.shared_key));
|
if ($scope.storedCredential.shared_key) {
|
||||||
|
key = EncryptService.decryptString(angular.copy($scope.storedCredential.shared_key));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if($scope.storedCredential.hasOwnProperty('acl')){
|
if($scope.storedCredential.hasOwnProperty('acl')){
|
||||||
key = EncryptService.decryptString(angular.copy($scope.storedCredential.acl.shared_key));
|
key = EncryptService.decryptString(angular.copy($scope.storedCredential.acl.shared_key));
|
||||||
|
|
Loading…
Add table
Reference in a new issue