mirror of
https://github.com/nextcloud/passman.git
synced 2024-09-21 15:26:33 +08:00
Merge pull request #592 from nextcloud/fix/550/logout_does_not_clear_vault
removed cached vault from vaultservice
This commit is contained in:
commit
ed9c866072
|
@ -540,9 +540,8 @@
|
|||
}
|
||||
$scope.active_vault = null;
|
||||
$scope.credentials = [];
|
||||
//$scope.$parent.selectedVault = false;
|
||||
window.location.reload();
|
||||
});
|
||||
VaultService.clearVaultService();
|
||||
});
|
||||
|
||||
$scope.clearState = function () {
|
||||
$scope.delete_time = 0;
|
||||
|
|
|
@ -131,6 +131,9 @@
|
|||
return response;
|
||||
}
|
||||
});
|
||||
},
|
||||
clearVaultService: function () {
|
||||
_activeVault=null;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue