Skip to content

Commit e806cb1

Browse files
authored
Merge pull request #53 from markcowl/fixcache
Fix issue with protected cache
2 parents fa8a479 + ceba5b7 commit e806cb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Authentication/Authentication/ProtectedFileTokenCache.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ public class ProtectedFileTokenCache : TokenCache, IAzureTokenCache
3030
private static readonly string CacheFileName = Path.Combine(
3131
#if !NETSTANDARD
3232
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
33+
Resources.OldAzureDirectoryName,
3334
#else
3435
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
36+
Resources.AzureDirectoryName,
3537
#endif
36-
Resources.AzureDirectoryName, "TokenCache.dat");
38+
"TokenCache.dat");
3739

3840
private static readonly object fileLock = new object();
3941

0 commit comments

Comments
 (0)