Changeset 31167


Ignore:
Timestamp:
05/15/15 14:44:57 (4 years ago)
Author:
plg
Message:

bug 3223 fixed: make sure we have found a user before validating the connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/include/functions_user.inc.php

    r29759 r31167  
    11211121;'; 
    11221122  $row = pwg_db_fetch_assoc(pwg_query($query)); 
    1123   if ($conf['password_verify']($password, $row['password'], $row['id'])) 
     1123  if (isset($row['id']) and $conf['password_verify']($password, $row['password'], $row['id'])) 
    11241124  { 
    11251125    log_user($row['id'], $remember_me); 
Note: See TracChangeset for help on using the changeset viewer.