mirror of
https://github.com/nextcloud/passman.git
synced 2025-01-06 07:22:03 +08:00
Merge pull request #77 from nextcloud/fixInvalidKeySize
Use .getActiveVault().vaultKey instead of stored password
This commit is contained in:
commit
0c60679a3a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
VaultService.getVault($scope.active_vault).then(function (vault) {
|
VaultService.getVault($scope.active_vault).then(function (vault) {
|
||||||
vault.vaultKey = SettingsService.getSetting('defaultVaultPass');
|
vault.vaultKey = VaultService.getActiveVault().vaultKey;
|
||||||
delete vault.credentials;
|
delete vault.credentials;
|
||||||
VaultService.setActiveVault(vault);
|
VaultService.setActiveVault(vault);
|
||||||
$scope.pwSettings = VaultService.getVaultSetting('pwSettings',
|
$scope.pwSettings = VaultService.getVaultSetting('pwSettings',
|
||||||
|
|
Loading…
Reference in a new issue