Changeset 306 for minimanager/edit.php


Ignore:
Timestamp:
Mar 13, 2008, 7:56:42 PM (17 years ago)
Author:
george
Message:

Oprava sloupce databáze I na sha_pass_hash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/edit.php

    r304 r306  
    186186 $sql->connect($realm_db['addr'], $realm_db['user'], $realm_db['pass'], $realm_db['name']);
    187187
    188  $new_pass = ($sql->quote_smart($_POST['pass']) != sha1(strtoupper($user_name).":******")) ? "I='".$sql->quote_smart($_POST['pass'])."', " : "";
     188 $new_pass = ($sql->quote_smart($_POST['pass']) != sha1(strtoupper($user_name).":******")) ? "sha_pass_hash='".$sql->quote_smart($_POST['pass'])."', " : "";
    189189 $new_mail = $sql->quote_smart(trim($_POST['mail']));
    190190 $new_tbc = $sql->quote_smart(trim($_POST['tbc']));
Note: See TracChangeset for help on using the changeset viewer.