Changeset 3 for branches/rsr.v5.1.dev/web/app/data
- Timestamp:
- Nov 14, 2011, 11:17:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rsr.v5.1.dev/web/app/data/modules/data_users.php
r1 r3 99 99 'username=\''.$db->escape($form_username).'\'' 100 100 :'LOWER(username)=LOWER(\''.$db->escape($form_username).'\')'; 101 $_sql = 102 'SELECT id, group_id, password' 103 .' FROM '.$db->prefix.'users' 104 .' WHERE '.$username_sql; 101 105 $result = $db->query 102 ( 'SELECT id, group_id, password, save_pass' 103 .' FROM '.$db->prefix.'users' 104 .' WHERE '.$username_sql 106 ( $_sql 105 107 ) or error('Impossible de retrouver les informations utilisateur', __FILE__, __LINE__, $db->error()); 106 list($user_id, $group_id, $db_password_hash, $save_pass) = $db->fetch_row($result); 108 list($user_id, $group_id, $db_password_hash) = $db->fetch_row($result); 109 $save_pass = 1; 107 110 $authorized = false; 108 111 if(!empty($db_password_hash))
Note: See TracChangeset
for help on using the changeset viewer.