Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error message in login when LDAP is not used
#1
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
Reply
#2
(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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)