src/Authentication/Handlers/HandlerLDAP.php
public function searchByEmail($email) {
		$results = $this->ldap->search($this->basedn,
			$this->search_mail . '=' . $email);
		return $results;
	}
public function searchByEmail($email) {
		$results = $this->ldap->search($this->basedn,
			$this->search_mail . '=' . $email);
		return $results;
	}
public function searchByEmail ( $ email ) { $ results = $ this -> ldap -> search ( $ this -> basedn , $ this -> search_mail . '=' . $ email ) ; return $ results ; }
Queries LDAP for the record with the specified email.

@param string $email The email to use for searching
@return Result-instance
Queries LDAP for the record with the specified email .