Store reg keys in a different folder to mitigate impact of renaming changes

This commit is contained in:
Levi B 2015-02-26 23:46:02 -08:00
parent e4db4b1189
commit bf0f94ce20
1 changed files with 2 additions and 2 deletions

View File

@ -71,11 +71,11 @@ namespace Microsoft.AspNet.DataProtection.Repositories
using (aspnetBaseKey) {
// TODO: Remove the ".BETA" moniker.
var dataProtectionKey = aspnetBaseKey.OpenSubKey("DataProtection.BETA", writable: true);
var dataProtectionKey = aspnetBaseKey.OpenSubKey("DataProtection.BETA6", writable: true);
if (dataProtectionKey == null)
{
// TODO: Remove the ".BETA" moniker from here, also.
dataProtectionKey = aspnetBaseKey.CreateSubKey("DataProtection.BETA");
dataProtectionKey = aspnetBaseKey.CreateSubKey("DataProtection.BETA6");
}
// Once we've opened the HKLM reg key, return a repository which wraps it.