LetoDMS Community Forum
Error message in login when LDAP is not used - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11)
+--- Thread: Error message in login when LDAP is not used (/showthread.php?tid=307)



Error message in login when LDAP is not used - f_lombardo - 09-05-2011

When no LDAP host is defined, if an user inputs a wrong password, a small error is shown at the top of the page. I think the file op.Login.php should be fixed in some way, for example at line 71
Code:
if (isset($settings->_ldapBaseDN))
{
    $ldapSearchAttribut = "uid=";
    $tmpDN = "uid=".$login.",".$settings->_ldapBaseDN;
}

Bye

Franco



RE: Error message in login when LDAP is not used - steinm - 09-09-2011

(09-05-2011, 04:16 PM)f_lombardo Wrote: When no LDAP host is defined, if an user inputs a wrong password, a small error is shown at the top of the page. I think the file op.Login.php should be fixed in some way, for example at line 71
Code:
if (isset($settings->_ldapBaseDN))
{
    $ldapSearchAttribut = "uid=";
    $tmpDN = "uid=".$login.",".$settings->_ldapBaseDN;
}

Thanks. I fixed it for the upcomming 3.2.0

Uwe