Changeset 317 for administrace


Ignore:
Timestamp:
Mar 23, 2008, 12:06:49 AM (17 years ago)
Author:
george
Message:

Opraveno: Odkaz na sloupec sha_pass_hash v tabulce account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • administrace/user.php

    r188 r317  
    2525    global $Database;
    2626    $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.'"))))');
    2828    if($DbResult->num_rows > 0)
    2929    { 
Note: See TracChangeset for help on using the changeset viewer.