srchub

srchub Commit Details


Date:2014-08-21 21:58:41 (10 years 4 months ago)
Author:Natalie Adams
Branch:master
Commit:1944b5acc02aeea842a4d7b751356436cc47cf8f
Parents: 83267c580723632e5b1da67a5df494ff3507c4e1
Message:Fixing bug where password would not be hashed in database if user updated password This affected admin and user interfaces

Changes:

File differences

indefero/src/IDF/Form/Admin/UserUpdate.php
315315
316316
317317
318
318319
319320
320321
if ($password1 != $password2) {
throw new Pluf_Form_Invalid(__('The passwords do not match. Please give them again.'));
}
$this->cleaned_data["password"] = base64_encode(sha1($this->cleaned_data['password'], true));
}
return $this->cleaned_data;
}
indefero/src/IDF/Form/UserAccount.php
479479
480480
481481
482
482483
483484
484485
if ($password1 != $password2) {
throw new Pluf_Form_Invalid(__('The passwords do not match. Please give them again.'));
}
$this->cleaned_data["password"] = base64_encode(sha1($this->cleaned_data['password'], true));
}
return $this->cleaned_data;

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.07268s using 14 queries.