SessionValidationKey bug in update fixed

This commit is contained in:
feodor_fitsner 2012-09-20 13:12:23 -07:00
parent 3d32dada6b
commit c0276a7369

View file

@ -346,7 +346,7 @@ namespace WebsitePanel.Setup
if (appSettings != null) if (appSettings != null)
{ {
var sessionKey = doc.CreateElement("add"); var sessionKey = doc.CreateElement("add");
sessionKey.SetAttribute("name", "SessionValidationKey"); sessionKey.SetAttribute("key", "SessionValidationKey");
sessionKey.SetAttribute("value", StringUtils.GenerateRandomString(16)); sessionKey.SetAttribute("value", StringUtils.GenerateRandomString(16));
appSettings.AppendChild(sessionKey); appSettings.AppendChild(sessionKey);
} }