Merge pull request #77 from nextcloud/fixInvalidKeySize

Use .getActiveVault().vaultKey instead of stored password
This commit is contained in:
Sander 2016-10-08 16:28:50 +02:00 committed by GitHub
commit 0c60679a3a

View file

@ -28,7 +28,7 @@
}
VaultService.getVault($scope.active_vault).then(function (vault) {
vault.vaultKey = SettingsService.getSetting('defaultVaultPass');
vault.vaultKey = VaultService.getActiveVault().vaultKey;
delete vault.credentials;
VaultService.setActiveVault(vault);
$scope.pwSettings = VaultService.getVaultSetting('pwSettings',