Changeset 306 for minimanager/user.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/user.php

    r142 r306  
    769769 $username = $sql->quote_smart($_POST['username']);
    770770 $pass = $sql->quote_smart($_POST['pass']);
    771  $user_pass_change = ($pass != sha1(strtoupper($username).":******")) ? "username='$username',I='$pass'," : "";
     771 $user_pass_change = ($pass != sha1(strtoupper($username).":******")) ? "username='$username',sha_pass_hash='$pass'," : "";
    772772 
    773773 $mail = (isset($_POST['mail']) && $_POST['mail'] != '') ? $sql->quote_smart($_POST['mail']) : "";
Note: See TracChangeset for help on using the changeset viewer.