mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-08 20:46: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,8 +93,10 @@ angular.module('passmanApp')
|
|||
var _credential = _revision.credential_data;
|
||||
|
||||
if(!$scope.storedCredential.hasOwnProperty('acl') && $scope.storedCredential.hasOwnProperty('shared_key')){
|
||||
if ($scope.storedCredential.shared_key) {
|
||||
key = EncryptService.decryptString(angular.copy($scope.storedCredential.shared_key));
|
||||
}
|
||||
}
|
||||
if($scope.storedCredential.hasOwnProperty('acl')){
|
||||
key = EncryptService.decryptString(angular.copy($scope.storedCredential.acl.shared_key));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue