Skip to content

Commit

Permalink
remove unneeded line that prevented updating a user if pbkdf2 is not …
Browse files Browse the repository at this point in the history
…available
  • Loading branch information
ChristianBeer committed Mar 16, 2015
1 parent 6ec9552 commit d355093
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/AdminClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ function update_user($userdata) {
$passwd_query = sprintf($passwd_format, $field_passwd, $passwd);
}

$password = hash_pbkdf2("sha1", $userdata[$field_passwd], $userdata[$field_userid], 5000, 40);
$format = 'UPDATE %s SET %s %s="%s", %s="%s", %s="%s", %s="%s", %s="%s", %s="%s", %s="%s", %s="%s", %s="%s", %s="%s", %s="%s", %s="%s" WHERE %s="%s"';
$query = sprintf($format, $this->config['table_users'],
$passwd_query,
Expand Down

0 comments on commit d355093

Please sign in to comment.