webdav portal bugs fix
This commit is contained in:
parent
70daade557
commit
412fe073dc
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ using System.DirectoryServices.AccountManagement;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Script.Serialization;
|
using System.Web.Script.Serialization;
|
||||||
using System.Web.Security;
|
using System.Web.Security;
|
||||||
|
using WebsitePanel.WebDav.Core.Config;
|
||||||
using WebsitePanel.WebDav.Core.Interfaces.Security;
|
using WebsitePanel.WebDav.Core.Interfaces.Security;
|
||||||
using WebsitePanel.WebDav.Core.Security.Authentication.Principals;
|
using WebsitePanel.WebDav.Core.Security.Authentication.Principals;
|
||||||
using WebsitePanel.WebDav.Core.Security.Cryptography;
|
using WebsitePanel.WebDav.Core.Security.Cryptography;
|
||||||
|
@ -18,7 +19,7 @@ namespace WebsitePanel.WebDav.Core.Security.Authentication
|
||||||
public FormsAuthenticationService(ICryptography cryptography)
|
public FormsAuthenticationService(ICryptography cryptography)
|
||||||
{
|
{
|
||||||
_cryptography = cryptography;
|
_cryptography = cryptography;
|
||||||
_principalContext = new PrincipalContext(ContextType.Domain);
|
_principalContext = new PrincipalContext(ContextType.Domain, WebDavAppConfigManager.Instance.UserDomain);
|
||||||
}
|
}
|
||||||
|
|
||||||
public WspPrincipal LogIn(string login, string password)
|
public WspPrincipal LogIn(string login, string password)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue