Merge branch 'release' into dev

This commit is contained in:
Levi B 2014-10-27 15:31:23 -07:00
commit 5899177af2
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ namespace Microsoft.AspNet.Security.DataProtection
#if !ASPNETCORE50
// Environment.GetFolderPath returns null if the user profile isn't loaded.
string folderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
if (folderPath != null)
if (!String.IsNullOrEmpty(folderPath))
{
// TODO: Remove BETA moniker from below.
return new DirectoryInfo(Path.Combine(folderPath, "ASP.NET", "keys-BETA"));