Commit ba65bf8f authored by Henri Queneau's avatar Henri Queneau
Browse files

FIX #6321 connection ldap ok with smartphone

parent e2e32e3e
......@@ -125,10 +125,9 @@ if (count($_SESSION['config']) <= 0) {
$login = end(explode('\\', $login));
$query = 'select * from ' . USERS_TABLE
. " where user_id like ? ";
$stmt = $db->query($query,array($this->$login));
$query = "SELECT * FROM users WHERE user_id ILIKE ?";
$stmt = $db->query($query,array($login));
if ($stmt->fetchObject()) {
$_SESSION['error'] = '';
$pass = $sec->getPasswordHash($password);
......
  • J'ai effectué des tests en 17.06.8, la connexion sur smartphone ne fonctionne pas

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment