Store reg keys in a different folder to mitigate impact of renaming changes
This commit is contained in:
parent
e4db4b1189
commit
bf0f94ce20
|
|
@ -71,11 +71,11 @@ namespace Microsoft.AspNet.DataProtection.Repositories
|
||||||
|
|
||||||
using (aspnetBaseKey) {
|
using (aspnetBaseKey) {
|
||||||
// TODO: Remove the ".BETA" moniker.
|
// TODO: Remove the ".BETA" moniker.
|
||||||
var dataProtectionKey = aspnetBaseKey.OpenSubKey("DataProtection.BETA", writable: true);
|
var dataProtectionKey = aspnetBaseKey.OpenSubKey("DataProtection.BETA6", writable: true);
|
||||||
if (dataProtectionKey == null)
|
if (dataProtectionKey == null)
|
||||||
{
|
{
|
||||||
// TODO: Remove the ".BETA" moniker from here, also.
|
// 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.
|
// Once we've opened the HKLM reg key, return a repository which wraps it.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue