Merge pull request #592 from nextcloud/fix/550/logout_does_not_clear_vault

removed cached vault from vaultservice
This commit is contained in:
newhinton 2019-05-19 17:21:18 +02:00 committed by GitHub
commit ed9c866072
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -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;

View file

@ -131,6 +131,9 @@
return response;
}
});
},
clearVaultService: function () {
_activeVault=null;
}
};