diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:21:22 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:48:26 +0200 |
commit | ca64b0e4616bbbfa97fbb8465dce75aa79c04360 (patch) | |
tree | 1ba3fbac402239879e15c2a291de69da8782b542 | |
parent | c6e63602eae9ef7f33b0460cbcae0da0b769c622 (diff) |
muser: decrease cost parameter for crypt
09 should take long enough and not waste too much time.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | application/models/muser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/muser.php b/application/models/muser.php index f3176d06d..e9a38cfad 100644 --- a/application/models/muser.php +++ b/application/models/muser.php @@ -71,7 +71,7 @@ class Muser extends CI_Model { function hash_password($password) { $salt = random_alphanum(22); - return crypt($password, "$2a$10$$salt$"); + return crypt($password, "$2a$09$$salt$"); } } |