Changeset 317 for administrace
- Timestamp:
- Mar 23, 2008, 12:06:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/user.php
r188 r317 25 25 global $Database; 26 26 $Database->select_db('realmd'); 27 $DbResult = $Database->select('account', 'Id,username', '(gmlevel > 0) AND (username = "'.$Username.'") AND ( I= SHA1(CONCAT(UCASE("'.$Username.'"),":",UCASE("'.$Password.'"))))');27 $DbResult = $Database->select('account', 'Id,username', '(gmlevel > 0) AND (username = "'.$Username.'") AND (sha_pass_hash = SHA1(CONCAT(UCASE("'.$Username.'"),":",UCASE("'.$Password.'"))))'); 28 28 if($DbResult->num_rows > 0) 29 29 {
Note:
See TracChangeset
for help on using the changeset viewer.