Filters out sensitive setting data while exporting
This commit is contained in:
4 files changed
+36
-6
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
@@ -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}";
|
||||
}
|
||||
Reference in new issue
Block a user