From ca64b0e4616bbbfa97fbb8465dce75aa79c04360 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 9 Apr 2012 20:21:22 +0200 Subject: muser: decrease cost parameter for crypt 09 should take long enough and not waste too much time. Signed-off-by: Florian Pritz --- application/models/muser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application') 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$"); } } -- cgit v1.2.3-24-g4f1b