SessionValidationKey bug in update fixed
This commit is contained in:
parent
3d32dada6b
commit
c0276a7369
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue