Changeset 18889 for trunk/admin
- Timestamp:
- Nov 2, 2012, 2:59:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upgrade.php
r15678 r18889 248 248 $row = pwg_db_fetch_assoc(pwg_query($query)); 249 249 250 if (!isset($conf['pass_convert'])) 251 { 252 $conf['pass_convert'] = create_function('$s', 'return md5($s);'); 253 } 254 255 if ($row['password'] != $conf['pass_convert']($password)) 250 if (!$conf['password_verify']($password, $row['password'])) 256 251 { 257 252 array_push($page['errors'], l10n('Invalid password!'));
Note: See TracChangeset
for help on using the changeset viewer.