PHP notice

This commit is contained in:
Roland Gruber 2020-06-27 20:47:43 +02:00
parent 780daded11
commit 87986e93cc
1 changed files with 1 additions and 0 deletions

View File

@ -510,6 +510,7 @@ if(isset($_POST['checklogin'])) {
$password = $_POST['passwd'];
}
// search user in LDAP if needed
$searchLDAP = null;
if ($_SESSION['config']->getLoginMethod() == LAMConfig::LOGIN_SEARCH) {
$searchFilter = $_SESSION['config']->getLoginSearchFilter();
$searchFilter = str_replace('%USER%', $username, $searchFilter);