Filters out sensitive setting data while exporting

This commit is contained in:
tsommer committed 2023-01-24 20:58:42 +01:00
1 parent bafb325880
commit 59da2c23a8
4 files changed
+36 -6

No files matched your search

+7 -1
View File
@@ -26,7 +26,13 @@ public static class ExportProcessor
{
await EXPORT_SEMAPHORE_EXPORTING.WaitAsync();
await using var db = ProcessorMeta.ServiceProvider.GetRequiredService<DataContext>();
await db.ExportAsync(Environment.ExpandEnvironmentVariables(Path.Join(await AppSettings.GetAutoExportDestinationPath(), await AppSettings.GetAutoExportFilename())));
await db.ExportAsync(
path: Environment.ExpandEnvironmentVariables(
Path.Join(await AppSettings.GetAutoExportDestinationPath(),
await AppSettings.GetAutoExportFilename())
),
includeSensitiveData: await AppSettings.GetAutoExportSensitiveData()
);
}
finally
{
+1 -1
View File
@@ -2,5 +2,5 @@
public static class Version
{
public static string Text => $"v0.8.0 (2023-01-22), .NET {Environment.Version}";
public static string Text => $"v0.8.1 (2023-01-24), .NET {Environment.Version}";
}