mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-23 03:46:14 +08:00
Use .getActiveVault().vaultKey instead of stored password, which can be empty
This commit is contained in:
parent
57486d1ffa
commit
1adfb1db96
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…
Add table
Reference in a new issue