Fixed: Forms login persists across restarts in docker

(cherry picked from commit a219b4a1b869863b2ef47d4bdf33d308cb261ba3)

Fixes #409
This commit is contained in:
ta264
2021-11-01 21:28:20 +00:00
committed by Qstick
parent dd27d69e97
commit 147cdf2cce
3 changed files with 15 additions and 0 deletions
@@ -258,6 +258,11 @@ namespace NzbDrone.Common.Extensions
return appFolderInfo.AppDataFolder;
}
public static string GetDataProtectionPath(this IAppFolderInfo appFolderInfo)
{
return Path.Combine(GetAppDataPath(appFolderInfo), "asp");
}
public static string GetLogFolder(this IAppFolderInfo appFolderInfo)
{
return Path.Combine(GetAppDataPath(appFolderInfo), "logs");