Fix bug in Filezilla where it was incorrectly adding users to it's configuration file.
This commit is contained in:
parent
5bf6e912e5
commit
aef565835e
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@ namespace WebsitePanel.Providers.FTP
|
|||
|
||||
Log.WriteInfo("Find users nodes");
|
||||
// find users node
|
||||
XmlNode fzServerNode = doc.SelectSingleNode("/FileZillaServer");
|
||||
XmlNode fzAccountsNode = fzServerNode.SelectSingleNode("/Users");
|
||||
XmlNode fzServerNode = doc.SelectSingleNode("FileZillaServer");
|
||||
XmlNode fzAccountsNode = fzServerNode.SelectSingleNode("Users");
|
||||
if (fzAccountsNode == null)
|
||||
{
|
||||
fzAccountsNode = doc.CreateElement("Users");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue