diff options
Diffstat (limited to 'system/application/models')
-rw-r--r-- | system/application/models/file_mod.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index fae20492c..23c3002af 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -66,8 +66,7 @@ class File_mod extends Model { function hash_password($password) { - // TODO: move salt to config - return sha1('w9yFMeU6ITrkrPBlRJfA'.$password); + return sha1($this->config->item('passwordsalt').$password); } private function unused_file($hash) |