summaryrefslogtreecommitdiff
path: root/inc/PassHash.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-03-16 11:11:15 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-03-16 11:11:15 +0100
commitd4dca43453a7a9e798c208cbb89ee09616381dde (patch)
tree9e27d608b2f04f45347537f7cf8cab7a7f376962 /inc/PassHash.class.php
parent7883d066bc903bdea41cfdb920c949ec1ebdf206 (diff)
downloadrpg-d4dca43453a7a9e798c208cbb89ee09616381dde.tar.gz
rpg-d4dca43453a7a9e798c208cbb89ee09616381dde.tar.bz2
fixed error in bcrypt password method
Diffstat (limited to 'inc/PassHash.class.php')
-rw-r--r--inc/PassHash.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/PassHash.class.php b/inc/PassHash.class.php
index 2558f37c6..0521ee305 100644
--- a/inc/PassHash.class.php
+++ b/inc/PassHash.class.php
@@ -427,7 +427,7 @@ class PassHash {
$this->gen_salt(22);
}
- return crypt($password, $salt);
+ return crypt($clear, $salt);
}
}