Fix inicializacion LdapConfig
This commit is contained in:
parent
5f09fac78b
commit
841f88e153
@ -6,7 +6,12 @@ namespace LdapLoginLib
|
|||||||
{
|
{
|
||||||
public class LDAP
|
public class LDAP
|
||||||
{
|
{
|
||||||
private readonly LdapConfig _ldap = new();
|
private readonly LdapConfig _ldap;// = new();
|
||||||
|
|
||||||
|
public LDAP()
|
||||||
|
{
|
||||||
|
_ldap = new LdapConfig();
|
||||||
|
}
|
||||||
|
|
||||||
public bool Login(string password, string? document = null, string? username = null, string? email = null)
|
public bool Login(string password, string? document = null, string? username = null, string? email = null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user