PHP notice
This commit is contained in:
parent
780daded11
commit
87986e93cc
|
@ -510,6 +510,7 @@ if(isset($_POST['checklogin'])) {
|
||||||
$password = $_POST['passwd'];
|
$password = $_POST['passwd'];
|
||||||
}
|
}
|
||||||
// search user in LDAP if needed
|
// search user in LDAP if needed
|
||||||
|
$searchLDAP = null;
|
||||||
if ($_SESSION['config']->getLoginMethod() == LAMConfig::LOGIN_SEARCH) {
|
if ($_SESSION['config']->getLoginMethod() == LAMConfig::LOGIN_SEARCH) {
|
||||||
$searchFilter = $_SESSION['config']->getLoginSearchFilter();
|
$searchFilter = $_SESSION['config']->getLoginSearchFilter();
|
||||||
$searchFilter = str_replace('%USER%', $username, $searchFilter);
|
$searchFilter = str_replace('%USER%', $username, $searchFilter);
|
||||||
|
|
Loading…
Reference in New Issue